From: Tim Ellis <pvspam-postgres@hacklab.net>
To: pgsql-admin@postgresql.org
Subject: Re: OT: seeking query help, where?
Date: 17 Jan 2003 02:37:54 -0500
Message-ID: <1042789075.2330.4.camel@timetop> (raw)
In-Reply-To: <071501c2bdac$cabaa790$2c0210ac@loisaida>
References: <071501c2bdac$cabaa790$2c0210ac@loisaida>
On Thu, 2003-01-16 at 17:15, Tim Lynch wrote:
> from two tables both with email_addr columns, i want a distinct list of all
> email_addrs in one column. what i do now is select distinct on each and then
> sort -u the results.
You want either pgsql-sql or pgsql-novice, both of which are mailing
lists for PostgreSQL. The former would be exactly the correct forum.
Odds are someone in this list will answer you anyway with something
mostly-useful.
I think the UNION clause will help you to your eventual goal.
--
Tim Ellis
Senior Database Architect
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: pvspam-postgres@hacklab.net
Subject: Re: OT: seeking query help, where?
In-Reply-To: <1042789075.2330.4.camel@timetop>
References: <071501c2bdac$cabaa790$2c0210ac@loisaida> <1042789075.2330.4.camel@timetop>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox