What is difference between Union, minus and Interact commands?

Last updated:9/16/2020 3:24:04 AM

1 Answers

Anonymous User
Anonymous User

The UNION operator is used to combining the results of two tables, and it eliminates duplicate rows from the tables.

The MINUS operator is used to return rows from the first query but not from the second query. Matching records of the first and second query and other rows from the first query will be displayed as a result set.

INTERSECT operator is used to returning rows returned by both the queries.