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

What are the advantages of stored procedure?

540


What is the reports view in oracle sql developer?

539


Why are indexes and views important to an organization?

525


How many clustered indexes can you have?

529


How to start the command-line sql*plus?

562






Explain foreign key in sql?

621


What is the purpose of the sql select top clause?

549


column A column b | output 10 7 | 10 5 8 | 8 7 -9 | 7 3 5 | 5 0 6 | 6 Write a sql query to print such output.

6073


What are types of exception?

532


In a distributed database system, can we execute two queries simultaneously?

567


What does (+) mean in sql joins?

523


How sql query is executed?

550


What is the difference between functions, procedures, and packages in pl/sql?

482


what is the difference between delete and truncate commands? : Sql dba

533


Is clustered index a primary key?

526