public inbox for [email protected]  
help / color / mirror / Atom feed
From: Adrian Klaver <[email protected]>
To: Rich Shepard <[email protected]>
To: [email protected]
Subject: Re: Selecting all variations of job title in a list
Date: Tue, 25 Nov 2025 12:46:37 -0800
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>

On 11/25/25 11:08, Rich Shepard wrote:
> On Tue, 25 Nov 2025, Adrian Klaver wrote:
> 
>> Something like?:
>>
>> select 'Env mgr.' ilikeĀ  ANY(ARRAY['Asst Gen Mgr.', 'Env Mgr.', 'Gen 
>> Mgr.', 'Mgr.','Plant Mgr.']);
> 
> Adrian,
> 
> Hadn't thought of this.
> 
> Your, and Ron's, answers taught me that the answer to my question is 'no,
> there is no shortcut.' :-)

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.

> 
> Thanks,
> 
> Rich
> 
> 


-- 
Adrian Klaver
[email protected]






view thread (3+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Selecting all variations of job title in a list
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox