Re: Selecting all variations of job title in a list - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Selecting all variations of job title in a list
Date
Msg-id 58262f76-d5c1-4c3a-9560-ca7f43a2f83c@aklaver.com
Whole thread Raw
In response to Re: Selecting all variations of job title in a list  (Rich Shepard <rshepard@appl-ecosys.com>)
List pgsql-general
On 11/25/25 12:53, Rich Shepard wrote:
> 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.

So what are you searching on, the title, the modifier or both?

> 
> Rich
> 
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com



pgsql-general by date:

Previous
From: Rich Shepard
Date:
Subject: Re: Selecting all variations of job title in a list
Next
From: Ertan Küçükoglu
Date:
Subject: Re: Restore Windows dump to Linux (locale issue)