1. Home
  2. Data Science
  3. SQL for Data Analysis
  4. Compared with UNION, UNION ALL:

Added 30 Nov -0001

Compared with UNION, UNION ALL:

  1. removes duplicate rows
  2. sorts the result
  3. joins tables horizontally
  4. keeps duplicate rows Correct answer

Correct answer

D. keeps duplicate rows

15 views

MCQSEXAM

Explanation

UNION removes duplicates and is slower; UNION ALL simply appends the result sets.

Reference

Asked in: NTS, PPSC IT, Interviews

Preparing for an exam?

Doubts & discussion

Not sure why the answer is D? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More SQL for Data Analysis MCQs

Practise all SQL for Data Analysis MCQs

Similar MCQs