Back to Editor

Solution: 17. Maximum and Minimum Subscribers

Easy

Problem Detail:

Write a SQL query to return the maximum and minimum subscriber counts from the channels table.

Answer SQL Query:

SELECT MAX(subscriber_count) AS max_subscribers,
       MIN(subscriber_count) AS min_subscribers
FROM channels;
You can easily copy this solution, switch back to your editor tab, paste it, and run the SQL!