Solved

Contents of the BOOKS Table​

Question 61

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