Consider a relation book (title, price) which contains the titles and prices of different books.

Assuming that no two books have the same price, what does the following SQL query list ?

Select title

from book as B

where (select count (*)

from book as T

where T.price > B.price) < 7

1
Titles of the six most expensive books
2
Title of the sixth most expensive books
3
Titles of the seven most expensive books
4
Title of the seventh most expensive books

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation