Re: Question About UNION
От
David Wilson
Тема
Re: Question About UNION
Дата
Msg-id
e7f9235d0810091235s84723a5x91e5bb6a492d26b4@mail.gmail.com
Ответ на
Re: Question About UNION (Bill Thoen)
Список
Дерево обсуждения
Question About UNION Bill Thoen <bthoen@gisnet.com>
Re: Question About UNION Raymond O'Donnell <rod@iol.ie>
Re: Question About UNION Bill Thoen <bthoen@gisnet.com>
Re: Question About UNION Josh Williams <joshwilliams@ij.net>
Re: Question About UNION Bill Thoen <bthoen@gisnet.com>
Re: Question About UNION Raymond O'Donnell <rod@iol.ie>
Re: Question About UNION Bill Thoen <bthoen@gisnet.com>
Re: Question About UNION Bill Thoen <bthoen@gisnet.com>
Re: Question About UNION "David Wilson" <david.t.wilson@gmail.com>
Re: Question About UNION Bill Thoen <bthoen@gisnet.com>
Re: Question About UNION "David Wilson" <david.t.wilson@gmail.com>
Re: Question About UNION Bill Thoen <bthoen@gisnet.com>
On Thu, Oct 9, 2008 at 3:31 PM, Bill Thoen wrote: > Thanks, but that didn't work. That selected only the records from table1. That's why I warned you about it being written in gmail. :) select * from table1 union select table2.* from table2 left join table1 on table2.a=table1.a and table2.b=table1.b where table1.a is null; This should probably do it without the temp table (the first version was checking for null in the wrong place). -- - David T. Wilson david.t.wilson@gmail.com
В списке pgsql-general по дате отправления
От: Markus Wanner
Дата: