Introduction
Simple CASE WHEN
Searched CASE WHEN
CASE WHEN with aggregates
CASE WHEN with GROUP BY
Revision
26. Exercise 2

Instruction

Okay. Another exercise.

Exercise

Show the number of students who scored at least 60 in both math and language (versatile_candidates) and the number of students who scored below 40 in both of these tests (poor_candidates). Don't include students with NULL preferred_contact.

Console

Code editor

Result

TableConsole