T-SQL 101: 23 Combining multiple WHERE clause predicates with AND, OR, and NOT in SQL Server
WHERE clauses can have more than one predicate.
In the case shown above, I’m saying
“where the description starts with hydro and not size equals 370ml”
The operators AND, OR, and NOT can be used to form a group of logical decisions that need to be made.
Now notice that in this case, it’s exactly the same as if I had said
“where the description starts with hydro and size is not equal to 370ml”
2019-06-24