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 |
Is pl sql and postgresql same?
how to calculate expressions with sql statements? : Sql dba
How can triggers be used for the table auditing?
What is parameter substitution in sql?
What is the difference between unique and primary key constraints?
write a query to display diference between two dates in sql server
What is character functions?
how to debugg a procedure or package using dbms_output.put_line in plsql
What is the difference between between and in condition operators?
what is an alias command? : Sql dba
Can we alter stored procedure?
If we have n no of columns in a table, can we add new column in that table with not null constraint?
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)