Solved

​Contents of the BOOKS Table

Question 12

Multiple Choice

​Contents of the BOOKS table
​Contents of the BOOKS table    -​Based on the contents of the BOOKS table,which line of the following SQL statement contains an error? 1 SELECT isbn,title 2 FROM books 3 WHERE pubid = 4 (SELECT pubid 5 FROM books 6 WHERE title = 'SHORTEST POEMS')  7 AND retail-cost > 8 (SELECT AVG(retail-cost)  9 FROM books) ; A)  ​Line 3 B)  ​Line 5 C)  ​Line 7 D)  ​none of the above
-​Based on the contents of the BOOKS table,which line of the following SQL statement contains an error?
1 SELECT isbn,title
2 FROM books
3 WHERE pubid =
4 (SELECT pubid
5 FROM books
6 WHERE title = 'SHORTEST POEMS')
7 AND retail-cost >
8 (SELECT AVG(retail-cost)
9 FROM books) ;


A) ​Line 3
B) ​Line 5
C) ​Line 7
D) ​none of the above

Correct Answer:

verifed

Verified

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

Related Questions