EasyOutput prediction
UNION removes duplicates
Given these tables:
table_a:
| id | name |
|---|---|
| 1 | Alice |
| 2 | Bob |
table_b:
| id | name |
|---|---|
| 2 | Bob |
| 3 | Carol |
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.