Learning Goal: I’m working on a databases exercise and need an explanation and answer to help me learn.
For each information request below, formulate a single SQL query to produce the required information. In each case, you should display only the columns requested. Be sure that your queries do not produce duplicate records unless otherwise directed.
1. Who are the customers from Illinois who have bought boots costing over $100? Show first and last name only.
2. What are the names of products from manufacturers in Washington state?
3. List Hourly (wage) Employees (first and last names), their hire dates and then the full name (first and last) of their manager. (Rename manager name columns as MgrFirstN, MgrLastN.)
4. Which employees made purchase orders (purchases) from the manufacturer named Timberland? Show first and last names only.
5. Which employees purchased sneakers (made purchases) from the manufacturer named Timberland? Show first and last employee names only.
6. Who are the customers (first and last names) that bought “casual shoes” from the manufacturer named Timberland? (Note category names are lower case, manufacturer names are capitalized in the database.)
7. What are the names of products, their list prices, and their manufacturer name that have a list price under $50 and are made by manufacturers in Phoenix?
8. What are the names and list prices of products that sold on Valentines Day 2014?
9. Which cities have manufacturers who make boots?
10. What are the names of customers who have bought products costing over $60 made by manufacturers in New Jersey? Show first and last names.
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.Read more
Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.Read more
Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.Read more
Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.Read more
By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.Read more