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 |
What is difference between group by and partition by?
How to create a view on a table which does not exists
How many clustered indexes can be created on a table?
What is t-sql? : Transact sql
How can multiply values of a column? OR How can multiply value of a row of a column using a single query in SQL?
What are the possible values for the boolean data field?
What is clause?
Define commit?
What is %s in sql?
what is the Default Libraries for Oracle Report 6i
What are the 3 modes of parameter?
What is a temp table?
Oracle (3259)
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)