Answered step by step
Verified Expert Solution
Link Copied!

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Why are habits once established so difficult to break?

Answered: 1 week ago

Question

10. Describe the relationship between communication and power.

Answered: 1 week ago