Explain AND & OR conditions in SQL Server.
The AND & OR is used to join two or more conditions in a WHERE clause. 
where EmployeeName = ‘Steve’  
and City = ‘
where EmployeeName = ‘Steve’ 
or City = ‘
This Query will display the each person with EmployeeName equal to “Steve” or City equal to “
Labels: AND, OR conditions in SQL Server

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home