UNION returns all distinct rows selected by either query - SQL Operations
Q. Which of the following returns all distinct rows selected by either query?- Published on 19 Oct 15a. INTERSECT
b. MINUS
c. UNION
d. UNION ALL
ANSWER: UNION
The union operator is used to combine result set of two or more select statements. It avoids duplication.