Consider a relation book (title, price) which contains the titles and prices…

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. A.

    Titles of the six most expensive books.

  2. B.

    Title of the sixth most expensive books.

  3. C.

    Titles of the seven most expensive books.

  4. D.

    Title of the seventh most expensive books.

Attempted by 103 students.

Sign up free to check your answer

Sign up free

Explore the full course: Isro

Loading lesson…