Javatpoint Logo
Javatpoint Logo

PostgreSQL NOT IN condition

The PostgreSQL NOT IN condition is used with WHERE clause to fetch data from a table where specified condition negates the IN condition.

Syntax:

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

postgresql-not-in-condition1

Execute the following query:

Output:

postgresql-not-in-condition2



Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA