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

Explain triggers?

987


What is table value parameters (tvp)?

1080


How can I check if a view exists in a sql server database?

1014


What is wrong with sql server client libarary dll, ntwdblib.dll?

1030


What are the restrictions that views have to follow?

952


What are key, name and value columns of an attribute? : sql server analysis services, ssas

988


What can be used instead of trigger?

1130


what are the different types of replication you can set up in sql server? : Sql server database administration

1009


Explain the difference between clustered and non-clustered index?

906


What are various limitations of the views?

1044


How is a full-text index updated?

931


What are the advantages of sql azure?

140


as a general practice, it is recommended to have dbo be the owner of all database objects however, in your database you find number of tables owned by a user other than dbo, how could you fix this? : Sql server administration

950


What is normalization? What number of normalization shapes are there?

1089


What are temporal tables in sql server 2016?

868