What is difference between Union, minus and Interact commands?

Total Post:51

Points:255

C#
 100  View(s)
Ratings:
Rate this:
  1. What is difference between Union, minus and Interact commands?

    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.

Answer