Re: OT: seeking query help, where?

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Tim Lynch <admin+pgsqladmin(at)thirdage(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: OT: seeking query help, where?
Date: 2003-01-16 23:29:43
Message-ID: 20030116232943.GA28865@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Thu, Jan 16, 2003 at 14:15:22 -0800,
Tim Lynch <admin+pgsqladmin(at)thirdage(dot)com> wrote:
> First, sorry for the OT, flame me off-list!
>
> I'm a sysadmin being impressed into dba service. i've been getting along
> pretty well writing queries and making reports, but i've got some questions.
> suggestions for a good list/forum for help?
>
> 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.

Use the union operator.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Nigel J. Andrews 2003-01-17 00:24:50 Re: OT: seeking query help, where?
Previous Message Devinder K Rajput 2003-01-16 23:17:05 Re: OT: seeking query help, where?