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 diffrence between IN and EXISTS.which one is
faster.

Answer Posted / neha

In the in clause, the inner query is executed first, hence if the inner query return less data than the outer query, then use IN clause, in the other scenario, user exists clause.

Also, in the exists clause the inner query always reference outer query's table, which may or may not be the case with in IN clause.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is file based approach?

874


Define SQL and state the differences between SQL and other conventional programming Languages?

1138


What is the difference between join and natural join?

880


Explain scalar functions in sql?

1016


Which language is used in sql?

986


What is the process of copying data from table a to table b?

1032


What is the use of sqlerrd 3?

889


What is sqlite format?

1105


what is single byte over head in oracle..?

2339


Which sql statement is used to delete data from a database?

895


what are the differences between get and post methods in form submitting. Give the case where we can use get and we can use post methods? : Sql dba

1083


Suppose a student column has two columns, name and marks. How to get name and marks of the top three students.

952


What is raw datatype in sql?

976


What is sap sql?

928


Why do we use procedures in pl sql?

959