⦁ Explore more advanced SQL queries.
⦁ Answer the questions, copy the SQL code, create screenshots, and submit the results.
⦁ For all text and image submissions, use MS Word, which is available to you within the Virtual Desktop Infrastructure (VDI).
⦁ For all SQL code submissions, use MS Word, which is available to you within VDI.
⦁ For all diagram submissions, use MS Visio, which is available to you within VDI.
⦁ Note: If you need assistance on how to get started with this tool, go to the references section at the end of this document.
⦁ If the submission is more than one file:
⦁ Name each item appropriately.
⦁ For example: LAB6-AdvSQL-yourName.vsd, LAB6-Questions-yourName.docx
⦁ Save each item in a single folder.
⦁ This folder should also be named appropriately.
⦁ For example: LAB5-yourName
⦁ Compress the folder.
⦁ Submit the compressed file in Blackboard.
1. Write an SQL statement to get the average, maximum, and minimum quantity per order stored in table “Sales.SalesOrderDetail”, column “SalesOrderID”, for order numbers 43660, 43670, and 43672. This query should be written as a single SQL statement.