What is the main disadvantage of using UNION ALL over UNION in SQL?

16 views
  • Slower for exact matches
  • Eliminates duplicates
  • Does not remove duplicates, leading to possible redundancy (Correct Answer)
  • Cannot combine tables with different structures

Explanation

UNION ALL preserves duplicates, which may result in redundant rows if uniqueness is required.

Comments (0)

No comments yet. Be the first to comment!

Want to practice more?

Explore thousands of MCQs across every exam category on Exams Nepal.

Find More MCQs