Question · SQL and MySQL course · Module 6: Aggregation and grouping
COUNT DISTINCT
What will SELECT COUNT(DISTINCT kraj) FROM autorzy; return?
Answer options
- The number of different (unique) countries among the authors
- A list of all countries
- The number of all authors
- The most frequently occurring country
You can check the correct answer by solving this task in the CodeWorlds game.