what is the difference between union and union all

Answer Posted / anjani kumar

Union will return only distinct values from two tables.
Union all will return duplicate values from the two tables

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is pragma in pl sql?

769


What is embedded sql in db2?

716


What is server name sql?

806


What is type and rowtype in pl sql?

746


What is constant in pl sql?

718


Explian rowid, rownum? What are the psoducolumns we have?

770


What is snowflake sql?

804


What is a table in a database?

796


what is auto increment? : Sql dba

754


What is the difference between microsoft access and sql?

732


what are the different tables present in mysql? : Sql dba

682


What found sql?

705


What is Histogram?

1282


What is sql architecture?

756


Why do we use joins in sql?

697