Question: 1) Write a SELECT statement that answers this question: Which artist has a total unit_price greater than the average unit price for all artist witha

 1) Write a SELECT statement that answers this question: Which artist

1) Write a SELECT statement that answers this question: Which artist has a total unit_price greater than the average unit price for all artist witha unit_price greater than 0? This query uses the items table. A subquery is required. 2) Write a select statement that returns these columns from the order_ details table: a) The order_qty column b) A column that uses the ROUND function to return the order_gty column with 2 d ecimal digits. c) A column that uses the ROUND function to return the order qty column with no d digits. 3) Write a select statement that returns three columns: customer last name from Order_date Shipped_date customers table from orders table from orders table JOINS are required 4) Write a summary query that calculates the total (SUM) unit_price by each artist. Select only those with a total (SUM) unit_price greater than 4. Again see the attached ER diagram. This query uses the items table. 1) Write a SELECT statement that answers this question: Which artist has a total unit_price greater than the average unit price for all artist witha unit_price greater than 0? This query uses the items table. A subquery is required. 2) Write a select statement that returns these columns from the order_ details table: a) The order_qty column b) A column that uses the ROUND function to return the order_gty column with 2 d ecimal digits. c) A column that uses the ROUND function to return the order qty column with no d digits. 3) Write a select statement that returns three columns: customer last name from Order_date Shipped_date customers table from orders table from orders table JOINS are required 4) Write a summary query that calculates the total (SUM) unit_price by each artist. Select only those with a total (SUM) unit_price greater than 4. Again see the attached ER diagram. This query uses the items table

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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!