Multiple choice technology databases

UNION ALL is faster than a UNION

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

UNION ALL is faster than UNION because it doesn't eliminate duplicate rows. UNION performs a sort operation to remove duplicates, which adds overhead. Use UNION ALL when you know there are no duplicates or when you want to keep all rows including duplicates.