Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q9. Report on the top Customer Names and their Total Order Quantity, where Total Order Quantity is greater than 100, order results by Total Order

Q9. Report on the top Customer Names and their Total Order Quantity, where Total Order Quantity is greater than 100, order results by Total Order Quantity in Descending order. Hint: Join Order Details, Order and Customers. Sum the Quantity ordered in Quantity Details for all the Orders for every Customer, but only for sum of quantity > 100.

Q.11. Report on the Shipper CompanyName and their Total Orders shipped. Order by Count of Orders Shipped in Descending order. Hint: Join Orders and Shippers, display the Count of OrderIds for each shipper, and order by count of OrderIds in descending order

Note: The query below works in W3Schools, ER model has the name Shippers.CompanyName

Q12. Report on the Category Names and the Count of Products within each category. Sort by Count of Products in Descending Order. Hint: Join Categories and Products, and Count # of Categories in the Product table. Order by Count # of Categories.

image text in transcribed

\begin{tabular}{|l|l|} \hline \multicolumn{2}{|c|}{ Oder Dwals } \\ \hline PK.FK1 & OrdonD \\ PK.FK2 & Procuctio \\ \hline & UnaPriceOuantlyDisooumt \\ \hline \end{tabular}

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

QuickBooks A Beginners Guide For Bookkeeping And Accounting For Small Businesses

Authors: Adam J. Belfort

1st Edition

8615413703, 979-8615413704

Students also viewed these Databases questions