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 <jc@mega-bucks.co.jp>)
Ответы Re: Basic SQL join question  ("Peter Darley" <pdarley@kinesis-cem.com>)
Список pgsql-general
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