EasyOutput prediction

DISTINCT on multiple columns

Given this table (orders):

idcustomerstatus
1Aliceshipped
2Aliceshipped
3Alicepending
4Bobshipped

How many rows does this query return?

SELECT DISTINCT customer, status FROM orders;

← → arrow keys to navigate

Sign in to save your progress.

DISTINCT on multiple columns - SQL Distinct Quiz | Unnested