what is the difference between union and union all

Answer Posted / leena

union all will combine the outputs of two or more queries.
union will combine the outputs of two or more queries but remove or ignore duplicate value in output.
union all is most faster as compare to union

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the bond code in materialized view?

2691


What is sql injection owasp?

731


What is procedure explain with example?

715


What is on delete restrict?

726


What steps server process has to take to execute an update statement?

717


Which is better join or subquery?

798


What are aggregate and scalar functions?

730


Does inner join remove duplicates?

699


What are the advantages of pl sql?

843


What is difference between cursor and trigger?

769


Does sql view stored data?

727


how to install mysql? : Sql dba

804


Difference between table function and pipelined function?

774


what is an extent ? : Sql dba

757


write an sql query to get third maximum salary of an employee from a table named employee_table. : Sql dba

741