Answered step by step
Verified Expert Solution
Question
1 Approved Answer
List the names and list prices of products that sold only in a quantity of 2. In other words, in a quantity of 2 but
List the names and list prices of products that sold only in a quantity of 2. In other words, in a quantity of 2 but not in any other quantities.
Hint: You will have to use 2 subqueries in the WHERE clause (not nested). The first subquery will select only those records where quantity is 2. The second subquery will select all those records where quantity is NOT 2. These two subqueries must be true at the same time.
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