select max from subquery

Поиск
Список
Период
Сортировка
От searchelite
Тема select max from subquery
Дата
Msg-id 22011562.post@talk.nabble.com
обсуждение исходный текст
Ответы Re: select max from subquery  (Raymond O'Donnell <rod@iol.ie>)
Re: select max from subquery  (Grzegorz Jaśkiewicz <gryzman@gmail.com>)
Re: select max from subquery  (Oleg Bartunov <oleg@sai.msu.su>)
Список pgsql-general
Dear All

i gave this kind of query

select max(foo) from (select some statement) as foo

but it gave me this error
ERROR:  function max(record) does not exist


any help how i can select max value from suqbuery in main query

thanks
--
View this message in context: http://www.nabble.com/select-max-from-subquery-tp22011562p22011562.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


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

Предыдущее
От: benoît carpentier
Дата:
Сообщение: Benetl, a free ETL tool for files using postgreSQL, is out in version 2.5 !
Следующее
От: Raymond O'Donnell
Дата:
Сообщение: Re: select max from subquery