Extra Credit SELECT Queries For any students who want to earn a little extra credit, consider the
Fantastic news! We've Found the answer you've been seeking!
Question:
For any students who want to earn a little extra credit, consider the following additional
problems (1.5-2 points each).
13. For each order placed on August 18th, 2023, how many unit items (a unit item is 1
vacuum cleaner; two of the same model would be 2 unit items; one of one model
and one of another would also be 2 unit items) were purchased? Output only those
orders that included two or more unit items, include in your output the order
number and the number of unit items, and order your output by order number
(lowest to highest). (1.5 points)
14. What is the total value of all orders placed for each region? The output should
include the name of the region as well as the total value of all orders placed there.
Order results alphabetically by region. Based on these results, to which region do
you think the company marketed most heavily during the early part of August
2023? (2 points)
15. Which three customers bought the highest number of MadHare units during the
period covered by the database? Your output should include first name, last name,
and the number of units purchased and should include information only about the
three customers with the highest number of MadHare units. Be sure your query
references the Model table (i.e., don't look up the model number for MadHare,
instead include in your query content that figures out which records refer to
'MadHare').
Related Book For
Posted Date: