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

Is delete faster than truncate?

555


What is use of term?

626


Is sql a backend?

551


What are different types of functions in sql?

513


What is the difference among union, minus and intersect?

546






How many commands are in sql?

530


Why do we use function in pl sql?

563


What is the maximum size of sqlite database?

550


What is difference between joins and union?

535


How many aggregate functions are available there in sql?

530


Is left join and outer join same?

552


how to fetch alternate records from a table? : Sql dba

606


How many unique keys can a table have?

563


Explain the steps needed to create the scheduled job?

567


what is bdb (berkeleydb)? : Sql dba

574