Javatpoint Logo
Javatpoint Logo

PostgreSQL LIKE condition

The PostgreSQL LIKE condition is used with WHERE clause to fetch data from a table where specified condition satisfies the LIKE condition.

Syntax:

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

postgresql-like-condition1

Execute the following query:

Output:

postgresql-like-condition2

Note: In the above example you can see that record is fetched where "NAME" is like as "Aj%'.





Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA