Re: Selecting all variations of job title in a list

From: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Selecting all variations of job title in a list
Date: 2025-11-25 20:53:12
Message-ID: 1f9412d8-2e66-b037-127e-872464bd65cc@appl-ecosys.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, 25 Nov 2025, Adrian Klaver wrote:

> You will need to be clearer about what you want.
>
> If it is to fetch titles with Mgr in the name then it would be simple:
>
> select * from people_table where title ilike '%mgr%';
>
> If it is something more selective you will need to provide a more detailed
> example.

Adrian,

I thought my example was clear: there are modifiers to job titles such as
'Manager,' 'Vice President,' 'Engineer.' That's why I asked if the
`like/ilike' modifier would work in a list passed to the `in' command.

Rich

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2025-11-25 20:58:58 Re: Selecting all variations of job title in a list
Previous Message Adrian Klaver 2025-11-25 20:46:37 Re: Selecting all variations of job title in a list