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 in and exists.
Ex: select * from emp where empno in(....) and
select * from emp where empno exists(....)

What is the difference between a Join and Union and Union
and UnionAll.

Answer Posted / saradhi

Just like JOINS, UNION combines data into a single record-
set but vertically by adding rows from another table. JOINS
combine data horizontally by adding columns from another
table.

UNION insures you get DISTINCT records from both the tables.
UNION ALL pulls out all records from both the tables with
duplicates.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are blobs, tables, and Queues? Is SQL is the standard way to query blobs, tables, and queues?

141


mention different types of relationships in the dbms?

1087


Do you know what is sql injection?

1041


On a windows server 2003 active – passive failover cluster, how do you find the node which is active?

1249


Explain data warehousing in sql server?

1092


What is the difference between mysql and mysqli?

1286


What is the minimum and maximum number of partitions required for a measure group? : sql server analysis services, ssas

1100


What are four major operators that can be used to combine conditions on a where clause?

1090


What are the database objects? : SQL Server Architecture

1098


Explain in brief about Microsoft SQL server?

1173


How do I create a trace in sql server?

1090


Why do we need normalization?

975


Can you insert NULL in unique column?

1209


Do you know what is normalization of database? What are its benefits?

1203


What are the different types of triggers in SQL SERVER?

1187