Write a query to show number of products in each product


For the questions below, use the W3Schools customer orders database. You need to submit thoroughly tested SQL statements. For your convenience and reference, relevant data model is attached as a PDF document with the assignment in the Blackboard. Name of this document is "Relationship diagram for W3schools order.pdf."

1) Write a query to show Customers' Country wise sales totals. Your query should show Customers' Country name and the total sale value for that Country.

2) Write a query to show Product wise sales totals. Your query should Product name and the total sale value for that Product.

3) Write a query to show the number of orders for each shipper. Your query should show shipper name and the count of orders with the shipper.

4) Write a query to show number of products in each product category. Your query should show Category name and number of products in that category.

5) Write a query that shows Customers' country wise customer count, and order count. Your query should show country name, total number of customers from that country, and total number of orders from the customers of that country.

6) Write a query that shows the number of products supplied by each Supplier. Your query should show Country name, supplier name and the count of products supplied by that supplier. Note: Sale Price = Orderdetails.Quantity * Products.price (see an example in the class slides deck)

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write a query to show number of products in each product
Reference No:- TGS02911346

Expected delivery within 24 Hours