public inbox for [email protected]
help / color / mirror / Atom feedFrom: Rich Shepard <[email protected]>
To: pgsql-general <[email protected]>
Subject: Re: Selecting all variations of job title in a list
Date: Tue, 25 Nov 2025 11:38:17 -0800 (PST)
Message-ID: <[email protected]> (raw)
In-Reply-To: <CANzqJaCNFaGTdM9E93_28KMK-AaDSKfP9iq9gbhCNGKh0w8bEA@mail.gmail.com>
References: <[email protected]>
<CANzqJaAJWTjLjn2v3kTcephXx=oo6Wt+k-8wR_P4qbFpA3heyQ@mail.gmail.com>
<[email protected]>
<CANzqJaCNFaGTdM9E93_28KMK-AaDSKfP9iq9gbhCNGKh0w8bEA@mail.gmail.com>
On Tue, 25 Nov 2025, Ron Johnson wrote:
> Failed clarity on my part. The "OR clauses" are within the regex string.
Ron,
That's okay.
> Note that The Relational Way of doing this is for everyone to have
> title_code in their "person" record, and the "title" table will have, in
> addition to the title_code PK column, the title_description,
> title_abbreviation ( 'Asst Gen Mgr.', 'Env Mgr,', 'Gen Mgr,'. 'Mgr,',
> 'Plant Mgr.') and title_group columns. All those manager titles would be
> in the same group. You'd then join "person" to "title" and filter where
> title_group="mumble".
That's impractical. The title table would be hundreds of rows long, most
having only 1 or 2 references. Companies don't have standard titles for
everyone.
Rich
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]
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