ITP15 ADS - BlockNo - Assign01 - Last Name First Name
ITP15 ADS - BlockNo - Assign01 - Last Name First Name
Section:
Objective: Students will apply their knowledge of the SELECT statement and its
clauses (WHERE, GROUP BY, HAVING, ORDER BY, and LIMIT) to retrieve and
manipulate data from the Product table.
Instructions: Write SQL queries to answer the following questions based on the
Product table.
Note: Refer to and analyze the Product table below or you may execute the queries
from the text file (ITP15-ADS_Act01_PRODUCT TABLE.txt) using the SQL environment
to verify your answer.
12. Retrieve categories where the average price of products is greater than $300.
ANS:
Bonus Challenge:
16. Find the total stock quantity for each category and display only those with a
total stock greater than 50.
ANS: