EasyOutput prediction

UNION removes duplicates

Given these tables:

table_a:

idname
1Alice
2Bob

table_b:

idname
2Bob
3Carol

What does this query return?

SELECT name FROM table_a
UNION
SELECT name FROM table_b;

← → arrow keys to navigate

Sign in to save your progress.

UNION removes duplicates - SQL Set Operations Quiz | Unnested