Re: join with 1 row limit

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: join with 1 row limit
Дата
Msg-id 28617.1295106549@sss.pgh.pa.us
обсуждение исходный текст
Ответ на join with 1 row limit  (Behringer Behringer <behringerdj@yahoo.com>)
Ответы Re: join with 1 row limit  (Behringer Behringer <behringerdj@yahoo.com>)
Список pgsql-novice
Behringer Behringer <behringerdj@yahoo.com> writes:
> In mysql this query works fine, what is the equivalent in posgresql?
> SELECT *
> FROM
> products p LEFT JOIN
> products_images pi ON p.id = pi.product_id  LIMIT 1
> WHERE products.company = 7

When asking that sort of question, it would be a good idea to explain
exactly what you expect that syntax to do.  Not all of us know every
nook and cranny of mysql's nonstandard behaviors.

            regards, tom lane

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

Предыдущее
От: yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi)
Дата:
Сообщение: Re: async fast-path calls?
Следующее
От: Behringer Behringer
Дата:
Сообщение: Re: join with 1 row limit