Re: Easiest way to extract owner-id from a third table

Поиск
Список
Период
Сортировка
От Rikard Bosnjakovic
Тема Re: Easiest way to extract owner-id from a third table
Дата
Msg-id AANLkTikrRbABxiT9+fCzfVjT0aG1VSqA6nezMqRkZeJt@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Easiest way to extract owner-id from a third table  (Thom Brown <thom@linux.com>)
Список pgsql-novice
On Thu, Aug 19, 2010 at 19:46, Thom Brown <thom@linux.com> wrote:

> Try this:
>
> SELECT components.owner_id
> FROM components
> INNER JOIN component_images ON components.id = component_images.components_id
> WHERE component_images.images_id = %
> LIMIT 1

Magic!

Thank you.


--
- Rikard

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

Предыдущее
От: Mladen Gogala
Дата:
Сообщение: Re: Queries running the longest?
Следующее
От: Chip Steele
Дата:
Сообщение: Streaming Replication in PostgreSQL9.0 b4: Standby dropping connections