Question
Formulate a single SQL query to produce the required information. In each case, display only the columns requested. Be sure queries do not produce duplicate
Formulate a single SQL query to produce the required information. In each case, display only the columns requested. Be sure queries do not produce duplicate records unless otherwise directed. A database schema is used: SIMPLIFIEDSALES SALEDATE FIRSTNAME LASTNAME PRODUCTNAME CATEGORY COLOR ITEMSIZE MANUFACTURER NAME PRICE. 1. List Products (Product Name) and their colors of shoes that are yellow or pink or orange. Use IN. Be sure to elliminate duplicate records. 2. Show sales information for sneakers whose color is not Black or Blue. 3. List Product name, Category, Manufacturere name, and price of shoes that have the word 'Leather' in the product name and which is priced at $100 or more. Be sure to eliminate duplicates. 4. Are there any sales where the sales clerk forgot to enter the shoe size? In other words where there is no data in the ItemSize field.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started