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 WHERE AND IN?
OR
1. SELECT * FROM EMPLOYEE WHERE EMPID=123
2. SELECT * FROM EMPLOYEE WHERE EMPID IN (123)
WHAT IS THE DIFFERENCE?

Answer Posted / g.m. ershad

1)select * from test2 where id=44
Output -
ID NAME
44 Ershad

2) sELECT * FROM test2 WHERE ID IN (44)
Output -

ID NAME
44 Ershad

both will return same output

Is This Answer Correct ?    6 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain important index characteristics?

1076


How and why use sql server?

1062


What are transactions and its controls?

1105


What are three ways you can use an identity value inside a trigger? Why would you prefer one way over another?

1043


What are indexes in ms sql server?

1115


You accidentally delete the msdb database what effect does this have on your existing sql databases, and how do you recover?

1036


How to check if a table is being used in sql server?

1009


How to start sql server browser service?

1181


Explain in brief about Microsoft SQL server?

1173


What are the types of sql server?

1096


What are drillthrough reports?

161


What is parameterized reports in ssrs ?

161


How to enter date and time literals in ms sql server?

1066


explain how to create a new schema in a database? : Sql server database administration

1156


Where does the copy job runs in the log shipping primary or secondary? : sql server database administration

1098