Skip to main content
Admissions guidance, study banks, and career tools — get started on Shalyam

Most Completed Course

Return the course with the most completions and the number of completions.

Table schema

Enrollments(id INT PRIMARY KEY, student VARCHAR(10), course VARCHAR(10), progress INT, completed INT)

Sample data

id | student | course | progress | completed
1 | Ann | SQL | 100 | 1
2 | Bob | SQL | 40 | 0
3 | Cy | SQL | 100 | 1
4 | Ann | Python | 60 | 0
5 | Dee | Python | 100 | 1
6 | Eli | Python | 10 | 0
7 | Fay | Python | 0 | 0

Discussion

No discussions yet.

Rewards · v2.1

Get Exclusive Insights with Every Issue

Join Shalyam Newsletter

Stay ahead in education, research, and innovation—straight to your inbox.