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 difference between function and trigger?

546


What is record data type?

518


What is the most common sql injection tool?

547


What is sql profiler in oracle?

568


What is a schema sql?

532






What is a unique key and primary key and foreign key?

569


How do I make sql search faster?

560


What is difference between sql and excel?

517


what are the types of join and explain each? : Sql dba

534


What is primary key in db?

522


How many types of cursors are available in pl/sql?

587


define sql insert statement ? : Sql dba

552


What is sql injection vulnerability?

497


What is trigger explain it?

551


What are the main features of cursor?

631