Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

database systems The following figure illustrates the schema of data on Blackboard (more details see homework1): Write a SQL query using the database (northwind.db) on

database systems
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
The following figure illustrates the schema of data on Blackboard (more details see homework1): Write a SQL query using the database (northwind.db) on Blackboard to get the number of category (CategoryName), the average of the unit price for each product(category) and rounded to 2 decimal places), minimum unit price for each category, maximum unit price for each category, and total units on order for categories containing greater than 10 products which means CategoryCount >10 in the query. At the end, the order need ORDER BY Categoryld Your output should look like: -- Beverages 1237.984.5263.560 -- Condiments 1223.061043.9170 -- Confections|13|25.16|9.2|81|180 -- Seafood 1220.68662.5120 The following figure illustrates the schema of data on Blackboard (more details see homework1): Write a SQL query using the database (northwind.db) on Blackboard to get the number of category (CategoryName), the average of the unit price for each product(category) and rounded to 2 decimal places), minimum unit price for each category, maximum unit price for each category, and total units on order for categories containing greater than 10 products. At the end, the order need ORDER BY Categoryld Your output should look like: - Beverages 1237.984.5263.560 -- Condiments|12|23.06|10|43.9|170 - Confections|13|25.16|9.2|81|180 -- Seafood|12|20.68|6|62.5|120

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

The Structure Of The Relational Database Model

Authors: Jan Paredaens ,Paul De Bra ,Marc Gyssens ,Dirk Van Gucht

1st Edition

3642699588, 978-3642699580

More Books

Students also viewed these Databases questions

Question

Explain strong and weak atoms with examples.

Answered: 1 week ago

Question

Explain the alkaline nature of aqueous solution of making soda.

Answered: 1 week ago

Question

Comment on the pH value of lattice solutions of salts.

Answered: 1 week ago

Question

8. Do the organizations fringe benefits reflect diversity?

Answered: 1 week ago