Question DB-SQL-0076
HardWhat does UNION do that UNION ALL does not?
- A.
Joins on a key
- B.
Sorts by the first column always
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
SQL question
What does UNION do that UNION ALL does not?
Joins on a key
Sorts by the first column always
Sign up free to see the answer and a step-by-step explanation.
Keeps duplicates
Removes duplicate rows from the combined result