Javatpoint Logo
Javatpoint Logo

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



Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


B.Tech / MCA