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: (view raw or whole 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
select distinct b as F from table;

In response to


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-2015 The PostgreSQL Global Development Group