Question: SQL - subqueries - no data needed Task From the table [Order Details] - List all details of all the above-average priced products (simple subquery)

SQL - subqueries - no data needed

Task

From the table [Order Details] - List all details of all the above-average priced products (simple subquery) (718 records).

From the tables [Order Details] and Orders - List any products that have not appeared on an order in 1996 (subquery with [NOT] IN) (405 records).

From the tables Products and [Order Details] - List all details of products that have been sold (any date). We need this to run fast, and we don't really want to see anything from the [order details] table, so use EXISTS (77 records).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related General Management Questions!