Solved

Contents of the BOOKS Table​

Question 81

Multiple Choice

Contents of the BOOKS table​
Contents of the BOOKS table​    -Based on the contents of the BOOKS table,which of the following is a valid SQL statement?​ A)  ​SELECT pubid,AVERAGE(retail-cost)  Average Profit  FROM books; B)  SELECT pubid,AVERAGE(retail-cost)  Average Profit  FROM books GROUP BY pubid;​ C)  ​SELECT pubid,AVG(retail-cost)  Average Profit  FROM books GROUP BY pubid; D)  ​SELECT pubid,AVG(retail-cost)  Average Profit  FROM books HAVING retail-cost > 25;
-Based on the contents of the BOOKS table,which of the following is a valid SQL statement?​


A) ​SELECT pubid,AVERAGE(retail-cost) "Average Profit"
FROM books;
B) SELECT pubid,AVERAGE(retail-cost) "Average Profit"
FROM books
GROUP BY pubid;​
C) ​SELECT pubid,AVG(retail-cost) "Average Profit"
FROM books
GROUP BY pubid;
D) ​SELECT pubid,AVG(retail-cost) "Average Profit"
FROM books
HAVING retail-cost > 25;

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