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 UNION,UNION ALL?

Answer Posted / sanjudharan

UNION : eliminates duplicates

UNION ALL: retains duplicates

Both these are used to combine the results of different
SELECT statements.

Suppose I have five SQL SELECT statements connected by
UNION/UNION ALL, how many times should I specify UNION to
eliminate the duplicate rows? -

Once.

Is This Answer Correct ?    22 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is ibm db2 open source?

1052


What is the result of open cursor statement?

1071


What is null indicator in db2?

1091


Highlight all the advantages that are attached to a package.

1100


Which isolation level provides highest data integrity?

1092


Explain about dbrm.

1029


How can you classify the locks in db2?

1077


If the cursor is kept open followed the issuing of commit, what is the procedure to leave the cursor that way?

1123


What are the 2 sqlcodes that are returned?

1174


What is dbrm? What it contains?

1147


How can the duplicate values be eliminated from db2 select?

1080


What is the max length of sqlca?

1206


How to restart a DB2 program?

1877


How do I import a csv file into db2?

966


is it compulsory commitment control in journal?

2459