What is different between union and minus?

Answer Posted / varma

union:
Union combines result set of two select statements
into one result set and from the result it eliminates
duplicate rows.

Minus:
Minus takes the result set of one select statement
and removes those rows that are also returned by another
select statement.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the savepoint statement.

691


How does cross join work in sql?

614


How to avoid using cursors? What to use instead of cursor and in what cases to do so?

737


what are the advantages a stored procedure? : Sql dba

641


Is time a data type in sql?

560






Explain cursor types?

664


What is the purpose of the partition table?

657


Is sql developer case sensitive?

635


Why are sql stored procedures used?

714


What is the process of debugging?

636


What is pl sql variable?

609


Can we delete column in sql?

663


What is nvarchar max in sql?

671


how to check server status with 'mysqladmin'? : Sql dba

674


How to use sql*plus built-in timers?

666