is not in sql server code example

Example 1: sql not in

SELECT * FROM Customers
WHERE Country NOT IN ('Germany', 'France', 'UK');

Example 2: sql not

Returns true if a record DOESN’T meet the condition.
Example: Returns true if the user’s first_name doesn’t end with ‘son’.
SELECT * FROM users
WHERE first_name NOT LIKE '%son';

Example 3: is not in sql server

select * from TableName(nolock) where onlineUser!=('Y')

Example 4: is not sql

(NOT) operator excluding given
For example:
Select last_name, job_id From Employees
Where "Not" job_id = 'ABC';

Tags:

Misc Example