Question · SQL and MySQL course · Module 8: Subqueries
How UNION works
What does the UNION operator do with the results of two queries?
Answer options
- It returns only rows common to both queries
- It multiplies the number of rows from both queries
- It removes all rows from the first query
- It glues them into one list and removes duplicates
You can check the correct answer by solving this task in the CodeWorlds game.