Solved

Contents of the BOOKS Table​

Question 90

Multiple Choice

Contents of the BOOKS table​
Contents of the BOOKS table​    -Based on the contents of the BOOKS table,which of the following SQL statements will return the total profit generated by books provided by publisher 4?​ A)  ​SELECT TOTAL(retail-cost) FROM books WHERE pubid = 4; B)  SELECT TOTAL(retail-cost) FROM books GROUP BY pubid; C)  ​SELECT SUM(retail-cost) FROM books WHERE pubid = 4; D)  SELECT SUM(retail-cost) FROM books GROUP BY pubid = 4;​
-Based on the contents of the BOOKS table,which of the following SQL statements will return the total profit generated by books provided by publisher 4?​


A) ​SELECT TOTAL(retail-cost) FROM books
WHERE pubid = 4;
B) SELECT TOTAL(retail-cost) FROM books
GROUP BY pubid;
C) ​SELECT SUM(retail-cost) FROM books
WHERE pubid = 4;
D) SELECT SUM(retail-cost) FROM books
GROUP BY pubid = 4;​

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents