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 differece between union and union all

Answer Posted / shabanafazal

in case of 'union' the data of two tables are combined
together with no repetition where as incase of 'union all'
repetition of data is done e.g in table 'A' we have name
saad three times and in 'B' table name 'ssad' is present
one time then in case of 'union' 'saad' is appeard once
(when union of table 'A' and 'B' is done). where as in case
of 'union all' the name 'saad' will repeated four times.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which Model uses the SET concept

978


What is model database? : SQL Server Architecture

1108


Is it possible to call a stored procedure within a stored procedure?

950


What are three ways you can use an identity value inside a trigger? Why would you prefer one way over another?

976


Introduction of rollup clause using sum and group by clause?

936


What is the difference between dataadapter and datareader?

979


How do I view a stored procedure in sql server?

969


Tell me about the approaches which you used to counter the DI problems.

1323


Write the SQL query to drop, truncate and delete table.

955


can a database be shrunk to 0 bytes, if not, why? : Sql server administration

1174


Explain Reporting Life Cycle?

123


What are advantages of ssrs or why we should use ssrs?

137


Explain subquery and state its properties?

1018


Explain the concept of view and Types of views in SQL server?

969


what's the information that can be stored inside a bit column? : Sql server database administration

1006