Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is the difference between union and union all

Answer Posted / soubhagya

Union:
It retrieves only distinct records.

Union all:
This retrieves duplicate records too.

but in performance issue
unioun all is better becoz it doesnot sort, filter the
record so its faster.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to process query result in pl/sql?

1105


Can we connect to postgresql using sql developer?

982


Can you join views in sql?

938


Why is pl sql used?

965


What is trigger in sql? Explain

976


How to read xml file in oracle pl sql?

898


What is pl sql script?

1010


What is fmtonly in sql?

1060


Is sql between inclusive?

1109


What is hibernate and its relation to sql?

1100


What are the two types of periodical indexes?

925


Is json a nosql?

957


what is the maximum length of a table name, database name, and fieldname in mysql? : Sql dba

1109


How to check if a column is nullable before setting to nullable?

1103


What is a schema sql?

1126