Re: Basic SQL join question

Поиск
Список
Период
Сортировка
Искать
От
Michael Meskes
Тема
Re: Basic SQL join question
Дата
Msg-id
20030131070011.GE8090@feivel.fam-meskes.de
Ответ на
Basic SQL join question (Jean-Christian Imbeault)
Список
Дерево обсуждения
Re: Basic SQL join question "codeWarrior" <GPatnude@adelphia.net>
On Fri, Jan 31, 2003 at 12:08:24PM +0900, Jean-Christian Imbeault wrote:
> For example
> ...
> What is the proper SQL to return:
> 
>   a |  b |  c
> ---------------
>  a1   b1   c1
>  a2   b2   c2
>  a3        c3
>            c4

None. Even in theory this is not possible. How shall the database system
know that a1,b1,c1 belong together? You said the tables have absolutely
nothing in common. Keep in mind that SQL works on sets, not on single
values.

Michael
-- 
Michael Meskes
Email: Michael@Fam-Meskes.De
ICQ: 179140304
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!
В списке pgsql-general по дате отправления
От: Stephan Szabo
Дата:
Сообщение: Re: serialization errors
От: Martin Kutschker
Дата:
Сообщение: Again
FAQ