Put in order · SQL and MySQL course · Module 2: Querying data (SELECT)

Ranking of the three most expensive

Arrange the clauses of a ranking of the three most expensive books in the correct order (top to bottom):

Items to put in order

  • SELECT tytul, cena
  • LIMIT 3
  • ORDER BY cena DESC
  • FROM ksiazki
Show the answer

Correct order:

  1. SELECT tytul, cena
  2. FROM ksiazki
  3. ORDER BY cena DESC
  4. LIMIT 3