Javatpoint Logo
Javatpoint Logo

PostgreSQL OR condition

The PostgreSQL OR condition is used with WHERE clause to select unique data either from one column or more than one column in a table.

Syntax:

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

postgresql-or-condtiton1

Execute the following query:

Output:

postgresql-or-condtiton2



Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


B.Tech / MCA