Re: subquery with more than one column

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: subquery with more than one column
Дата
Msg-id 20860.1183663833@sss.pgh.pa.us
обсуждение исходный текст
Ответ на subquery with more than one column  (Raimon Fernandez <coder@montx.com>)
Ответы Re: subquery with more than one column  (Raimon Fernandez <coder@montx.com>)
Список pgsql-novice
Raimon Fernandez <coder@montx.com> writes:
> It's not possible to return in a subquery more than one column ?

Try it like this:

  SELECT id_intern, (SELECT ROW(referencia, descripcio) FROM articles WHERE...

            regards, tom lane

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

Предыдущее
От: Raimon Fernandez
Дата:
Сообщение: subquery with more than one column
Следующее
От: "s anwar"
Дата:
Сообщение: Re: Postgres not using indices defined on my table with certain queries using "in"