Explain UNION,MINUS,UNION ALL, INTERSECT?
Answer / pavan_1981
UNION:set of all rows selected by both queries excluding
duplicates rows.
UNIONALL:set of all rows selected by both queries including
duplicate rows.
MINUS:set of all rows present in the first query and not
present in the second query.
INTERSECT:set of all rows commonly returned by both the
queries.
| Is This Answer Correct ? | 20 Yes | 4 No |
How can analyze query after generating explain plan ?
What is clustered and non-clustered indexes?
How many columns should be in an index?
how to calculate the difference between two dates? : Sql dba
Which sql statement is used to return only different values?
How to load data with sql*loader?
What is the best sql course?
what are the differences between char and varchar? : Sql dba
What is Overloading of procedures ?
What is substitution variable in pl sql?
what are the advantages of using stored procedures? : Sql dba
What is difference between my sql and sql?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)