trainingtrains Logo

91-9990449935

 0120-4256464

PostgreSQL AND & OR condition

The PostgreSQL AND & OR condition provides the advantages of AND and OR condition both in just a single query.

Syntax:

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

postgresql-and-or-condition1

Execute the following query:

Output:

postgresql-and-or-condition2