Re: Re: select to combine 2 tables

Поиск
Список
Период
Сортировка
От Alex Pilosov
Тема Re: Re: select to combine 2 tables
Дата
Msg-id Pine.BSO.4.10.10106222256320.29168-100000@spider.pilosoft.com
обсуждение исходный текст
Ответ на Re: Re: select to combine 2 tables  ("Thomas T. Thai" <tom@minnesota.com>)
Ответы Re: Re: select to combine 2 tables  ("Thomas T. Thai" <tom@minnesota.com>)
Список pgsql-general
On Fri, 22 Jun 2001, Thomas T. Thai wrote:

> > Huh?  That *is* the generic, fully-SQL-standard way.
>
> the project i'm doing this for is opensource and i need it to work in both
> postgresql and mysql. the above statement wouldn't work in mysql.
MySQL is not a standards conforming database. You must not ask on
postgresql list for a workaround against mysql brain-damage.

Alternatively, the answer to your question (assuming you must get it to
work on mysql and assuming that mysql does not understand the 'union'), is
to do two separate queries on these tables and join them together in your
perl code. But you knew that, right?

-alex


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

Предыдущее
От: teg@redhat.com (Trond Eivind Glomsrød)
Дата:
Сообщение: Re: Re: select to combine 2 tables
Следующее
От: Bruce Momjian
Дата:
Сообщение: Red Hat news hits Slashdot