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...

Explain UNION,MINUS,UNION ALL, INTERSECT?

Answer Posted / pavan_1981

UNION:set of all rows selected by both queries excluding
duplicates rows.
UNIONALL:set of all rows selected by both queries including
duplicate rows.
MINUS:set of all rows present in the first query and not
present in the second query.
INTERSECT:set of all rows commonly returned by both the
queries.

Is This Answer Correct ?    20 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you know that statistics should be updated?

1128


What are the types of index in sql?

1118


Can we create foreign key without primary key?

1036


What is the max nvarchar size?

1028


how to rename an existing column in a table? : Sql dba

1080


How do I count rows in sql query?

1039


Can we use join in subquery?

1150


how to check myisam tables for errors? : Sql dba

1393


Define a temp table?

1079


what is rollback? : Sql dba

1180


What are database links used for?

1095


What is the difference between rename and alias?

1390


What is a full join?

1043


what are the different type of sql's statements ? : Sql dba

977


What is the difference between clustered and non-clustered index in sql?

1065