Multiple Choice
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;
Correct Answer:

Verified
Correct Answer:
Verified
Q113: The MAX function can only be used
Q114: If an individual column is listed in
Q115: The <u>HAVING</u> clause specifies which groups will
Q116: The MIN function can be used with
Q117: When a SELECT statement contains WHERE,GROUP BY,and
Q119: The MAX function can be used with
Q120: The only group function that includes NULL
Q121: A group function can be nested inside
Q122: SUM,AVG,and COUNT are all considered <u>group </u>functions._
Q123: The _ clause is used to restrict