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 / ved

EMPID=123 will show only one row....if you want to see multiple row then use EMPID IN (1,2,3)


Pratically Done.

Is This Answer Correct ?    3 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I get to sql server configuration manager?

953


What is the difference between update lock and exclusive lock?

914


Which tcl commands are available on the sql server?

1018


How to count groups returned with the group by clause in ms sql server?

1008


What is difference between cte and view?

858


What is a field in a table?

985


Explain Geometry datatype in sql server 2008 with example

921


What are data driven subscriptions?

106


What is an indexing strategy?

947


How to find a value in another dataset based on current dataset field (ssrs 2008 r2)?

162


What is difference between getdate and sysdatetime in sql server 2008?

1002


How to compose an inquiry to demonstrate the points of interest of an understudy from students table whose name begins with k?

1046


What is the difference between function and stored procedure in sql server?

990


How to execute function in stored procedure sql server?

1052


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

1056