Question · SQL and MySQL course · Module 8: Subqueries
UNION requirement
What condition must two queries combined with the UNION operator meet?
Answer options
- They must come from the same table
- They must each have exactly one row
- They must return the same number of columns of compatible types
- They must use the same WHERE clause
You can check the correct answer by solving this task in the CodeWorlds game.