Key TakeAways About NOT Operator

  • NOT operator returns opposite results or negative results. It negates boolean condition in the WHERE clause.
  • It is used to exclude specific data from the result set.
  • It can also be combined with other operators like- LIKE, BETWEEN, and IN.

SQL NOT Operator

SQL NOT Operator is used to return the opposite result or negative result. It is a logical operator in SQL, that negates the boolean expression in the WHERE clause.

It is mostly used to specify what should not be included in the results table.

Similar Reads

NOT Syntax

SELECT column1, colomn2, … FROM table_name WHERE NOT condition;...

Demo SQL Database

Below is a selection from the “Customers” table in the Northwind sample database:...

NOT Operator Example

Lets look at some examples of NOT operator in SQL and understand it’s working....

Key TakeAways About NOT Operator:

NOT operator returns opposite results or negative results. It negates boolean condition in the WHERE clause.It is used to exclude specific data from the result set.It can also be combined with other operators like- LIKE, BETWEEN, and IN....

Contact Us