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

What does where 1 1 mean in sql?

1079


Why truncate is used in sql?

1043


What are different types of keys?

1176


How to get unique records from a table?

1024


Why do we use partitions in sql?

1096


What is an index in sql with example?

1022


What is numeric function sql?

1108


what is union? : Sql dba

1082


Explain aggregate functions are available there in sql?

1051


How do you run a query?

1051


How is use pl and sql?

1109


what is the difference between primary key and unique key? : Sql dba

1086


How do I view a procedure in sql?

1019


What is the difference between having and a where in sql?

1152


Why truncate is faster than delete?

1164