Question: Hello I need help writing sql commands which uses this online database https://www.w3schools.com/sql/trysql.asp?filename=trysql_desc 1. Show the category id of each category together with the minimum

Hello I need help writing sql commands which uses this online database https://www.w3schools.com/sql/trysql.asp?filename=trysql_desc

1. Show the category id of each category together with the minimum price of the products within the category.

2. Find the product id for the products that have been ordered with more than 300 units in total. List product id of such products together with the total ordered quantity of each product. (Hint: use the orderdetails table)

3. Show the product name, category name, and price for each product that has a price between 30 and 40

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

These SQL queries involve interacting with a database that appears to be set up with sample data typically used for SQL training and practice Below I ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!