Solved

​Contents of the BOOKS Table

Question 86

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

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