Skip site navigation (1) Skip section navigation (2)

Re: a wierd query

From: sad <sad(at)bankir(dot)ru>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: a wierd query
Date: 2004-05-13 07:34:35
Message-ID: 200405131134.35156.sad@bankir.ru (view raw or flat)
Thread:
Lists: pgsql-sql
> i require the dictinct values from (visualizing each column
> result as a set) the union of the two columns


select distinct a as F from table
union
select distinct b as F from table;


In response to

Responses

pgsql-sql by date

Next:From: ashok@kalculate.comDate: 2004-05-13 08:07:08
Subject: a wierd query
Previous:From: Achilleus MantziosDate: 2004-05-13 07:34:26
Subject: Re: a wierd query

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group