Coding task · SQL and MySQL course · Module 6: Aggregation and grouping

Number of different countries

Count how many different countries the authors come from. Use COUNT(DISTINCT ...).

Task

Write a query that counts the number of unique values of the kraj column in the autorzy table.