Learn SQL
COUNT & DISTINCT
16.1
Lesson

COUNT with DISTINCT

We’ve written a query to find all distinct courses.

We’ve also observed how to find the count of all courses.

Let’s combine the above two cases to find the count of all distinct courses.