Introduction
Simple CASE WHEN
Searched CASE WHEN
CASE WHEN with aggregates
CASE WHEN with GROUP BY
Revision
28. Exercise 4

Instruction

Okay, and the last one?

Exercise

For each degree course, show its name, the place_limit, the number of people who applied for that degree course and yet another column popularity: if more people applied than place_limit, show 'overcrowded'. Otherwise, show 'within limit'.

Console

Code editor

Result

TableConsole