Re: a wierd query

Поиск
Список
Период
Сортировка
От sad
Тема Re: a wierd query
Дата
Msg-id 200405140745.48296.sad@bankir.ru
обсуждение исходный текст
Ответ на Re: a wierd query  (Edmund Bacon <ebacon@onesystem.com>)
Ответы Re: a wierd query  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
Список pgsql-sql
On Thursday 13 May 2004 19:27, you wrote:
> sad wrote:
> > select distinct a as F from table
> > union
> > select distinct b as F from table;
>
> Note that UNION only returns the unique values of the union
> You can get repeated values by using UNION ALL.

read the original problem
look at the DISTINCT clause in my query
and think again



В списке pgsql-sql по дате отправления:

Предыдущее
От: "Jaime Casanova"
Дата:
Сообщение: \d in 7.4
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: a wierd query