Question 1 Question 2 Question 3 Question 4 Question 5 Question 6 Question 7 Question 8 Question 9

1 answer below »
SQL Query Coding


Question 1Question 2Question 3 Question 4Question 5Question 6 Question 7Question 8Question 9
Answered 2 days AfterMar 27, 2021

Answer To: Question 1 Question 2 Question 3 Question 4 Question 5 Question 6 Question 7 Question 8 Question 9

Rushendra answered on Mar 28 2021
153 Votes
ANSWERS Corrections
1. SELECT B.TITLE AS TITLE, SUM (O.QUANTITY) AS NUMBER FROM BOOKS B INNER JOIN
ORDERITEMS O ON O.ISBN=B.ISBN GROUP BY B.ISBN ORDER BY NUMBER DESC, TITLE ASC;
2. SELECT O.ORDERDATE,COUNT(OI.QUANTITY) AS NUMBER,SUM(B.COST) AS RETAIL FROM ORDERS O INNER JOIN ORDERITEMS OI ON OI.ORDERID=O.ORDERID INNER JOIN BOOKS B ON B.ISBN=OI.ISBN GROUP BY O.ORDERDATE,OI.ISBN ORDER BY ORDERDATE ASC;
3. SELECTO.ORDERID,O.PERSONID,O.ORDERDATE,O.SHIPDATE,O.SHIPSTREET,O.SHIPCITY,O.SHIPSTATE,O.SHIPPOSTCODE FROM ORDERS O...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here