Students Studying 3+ Subjects

Students Studying 3+ Subjects

The registrar's office is reviewing course load. Find students who study at least three distinct subjects. Output student_id, sorted ascending.

Expected output sample

This is what a correct answer looks like — its row count is its own, it doesn't have to match the schema tables. Your answer must use the same column names as this sample — alias them with AS if needed.

student_id
1
4
5

Your query result will appear here

Focus radio
Paused · SomaFM · Fluid