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 to delete an existing database user?

1083


How can we delete Duplicate row in table?

1114


How to drop existing indexes in ms sql server?

1131


What is the Main Difference between ACCESS and SQL SERVER?

1190


How do you debug a procedure in sql server?

995


According to you what goes into making the best database administrator? : sql server database administration

1024


Can we add our custom code in ssis?

1040


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

1099


What is advantage data architect?

977


What are the five major components of a dbms?

961


Define Wed Edition in SQL Azure?

102


How to write an inner join with the where clause in ms sql server?

1166


What is the difference between the 2 operating modes of database mirroring?

1166


Name the different type of indexes in sql?

1012


What does truncate do?

998