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

Here both is same but some situvations we want extact value
of one are more values then use in oprate

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we remove orphan records from a table?

529


What is the difference between DataRow.Delete() and DataRow.Remove()?

742


What are the difference between data mart and data warehouse? : sql server analysis services, ssas

507


Does partitioning ssd reduce performance?

494


What are different types of statements that are supported by sql?

596






What are commit and rollback in sql?

571


What does nvl stand for?

560


Where are stored procedures in sql server?

566


How can sql injection be stopped? : sql server security

557


What is the purpose of the tempdb database?

575


what is a deadlock? : Sql server database administration

503


Explain the steps needed to create a scheduled job?

525


What are drilldown reports?

86


What is sql or structured query language?

688


What encryption security is available in sql azure?

81