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

Sorting by country and surname

Arrange the elements in the correct order to build a clause sorting authors by country, then by surname (left to right):

Items to put in order

  • ORDER BY
  • nazwisko ASC
  • kraj ASC
  • ,
Show the answer

Correct order:

  1. ORDER BY
  2. kraj ASC
  3. ,
  4. nazwisko ASC