Answering business questions
In the real world, every SQL query starts with a business question. Then it is up to you to decide how to write the query that answers the question. Let's try this out.
Using the films
table: which release_year
had the most language diversity?
Take your time to translate this question into code and test your queries in the console.
"Most language diversity" can be interpreted as COUNT(DISTINCT ___)
. Now over to you.
This exercise is part of the course
Intermediate SQL
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
