Javatpoint Logo

91-9990449935

 0120-4256464

PostgreSQL NOT condition

The PostgreSQL NOT condition is used with WHERE clause to negate a condition in a query.

Syntax:

Let's take a table "EMPLOYEES" having the following data.

postgresql-not-condition1

Execute the following query:

Output:

postgresql-not-condition2