596_Classes More Than 5 Students
There is a tablecourses
with columns:studentandclass
Please list out all classes which have more than or equal to 5 students.
For example, the table:
Should output:
Note: The students should not be counted duplicate in each course.
Solution
Remember to use DISTINCT for deleting duplicates.
Last updated