Re: UNION discards indentical rows in postgres 7.3.3

Поиск
Список
Период
Сортировка
От Rod Taylor
Тема Re: UNION discards indentical rows in postgres 7.3.3
Дата
Msg-id 1060290918.15749.21.camel@jester
обсуждение исходный текст
Ответ на UNION discards indentical rows in postgres 7.3.3  (Silvio Scarpati <silvio.scarpati@virgilio.it>)
Список pgsql-bugs
> Wrong ! The query should return 4 rows. In other words i don't know
> why postgres performs the following query:

I think the syntax you're looking for is UNION ALL.

select a,b from t1 union all (select distinct a,b from t2);

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

Предыдущее
От: Silvio Scarpati
Дата:
Сообщение: UNION discards indentical rows in postgres 7.3.3
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: UNION discards indentical rows in postgres 7.3.3