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

When you use IN operator it will scan all the row in table
to check and Exists means when its find the data stop
execute to check further row.

Join- to join matching data from two or more table.
Union- Retrive matching data from both table.
UnionAll- Retrive matching as well as unmatched data from
both data.

hope this is clear

Is This Answer Correct ?    19 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the parts of a function?

936


Show Practically Sql Server Views are updatable?

1120


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

1047


Explain view in sql server?

1052


Can we check locks in database? If so, how can we do this lock check?

941


Write an sql query to sort a table according to the amounts in a row and find the second largest amount.

921


why would you call update statistics? : Sql server database administration

1082


What are different types of database indexes?

1094


Difference between DELETE and TRUNCATE?

1047


What is catalog views?

1064


What number aggregate functions are accessible there in sql?

1070


What do you understand by replication in sql server?

1060


How to create a view on an existing table in ms sql server?

1126


Describe different Processing Modes offered by SSRS?

248


Explain the various types of concurrency problem. I.e. Lost or buried updates, uncommitted dependency, inconsistent analysis, phantom read?

942