Back to Editor

Solution: 15. Channel Count by Country

Easy

Problem Detail:

Write a SQL query to count how many channels belong to each country.

Answer SQL Query:

SELECT country, COUNT(*) AS total_channels
FROM channels
GROUP BY country
ORDER BY total_channels DESC;
You can easily copy this solution, switch back to your editor tab, paste it, and run the SQL!