Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
Simple CASE WHEN
Searched CASE WHEN
CASE WHEN with aggregates
CASE WHEN with GROUP BY
Summary
27. Exercise 3

Instruction

Fine! How about the third one?

Exercise

Show each degree course name and a second column called popularity. If at least 5 distinct candidates applied, show 'high', otherwise show 'low'.

Stuck? Here's a hint!

Use DISTINCT candidate_id for the COUNT() function.