Re: OT: seeking query help, where?

From: Tim Ellis <pvspam-postgres(at)hacklab(dot)net>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: OT: seeking query help, where?
Date: 2003-01-17 07:37:54
Message-ID: 1042789075.2330.4.camel@timetop
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Nigel J. Andrews 2003-01-17 08:40:40 Re: Do Something before Abort on Trigger ???
Previous Message Kemin Zhou 2003-01-17 02:17:53 pg_restore problem