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

A query for countries without repeats

Arrange the elements in the correct order to build a query for the unique countries of authors (left to right):

Items to put in order

  • FROM autorzy
  • SELECT
  • DISTINCT
  • kraj
Show the answer

Correct order:

  1. SELECT
  2. DISTINCT
  3. kraj
  4. FROM autorzy