Re: Everlasting SQL query

Поиск
Список
Период
Сортировка
От Csaba Nagy
Тема Re: Everlasting SQL query
Дата
Msg-id 1091011680.909.25.camel@coppola.ecircle.de
обсуждение исходный текст
Ответ на Everlasting SQL query  ("Joost Kraaijeveld" <J.Kraaijeveld@Askesis.nl>)
Список pgsql-general
Joost,

The spelling mistake from below will cause you an unwanted join with the
"customers" table if you have one, which is unconstrained by any where
clause, so it will take a carthesian product of the rest and the
customers table.
If this spelling mistake is just in the mail, please disregard.

Cheers,
Csaba.


> select customer.id, customer.name, orders.id
> from customers, orders
       ^^^^^^^^^
> order by customer.id, orders.id
> limit 25
>



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

Предыдущее
От: Együd Csaba
Дата:
Сообщение: Re: pgadmin III ?
Следующее
От: Michal Taborsky
Дата:
Сообщение: Re: Everlasting SQL query