Explain it in 60 seconds
Stacking results with UNION vs UNION ALL
Data Analyst · SQL for Analytics · Beginner
What is the difference between UNION and UNION ALL?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Both stack results vertically.
- UNION removes duplicates.
- UNION ALL keeps all rows, faster.
- Columns must match in number and type.
- Use UNION ALL unless dedup needed.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.