Re: DIfference between max() and greatest() ?

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: DIfference between max() and greatest() ?
Дата
Msg-id 48CA1943.3030701@gmx.net
обсуждение исходный текст
Ответ на DIfference between max() and greatest() ?  ("Ruben Gouveia" <rubes7202@gmail.com>)
Список pgsql-sql
Ruben Gouveia wrote:
> What is the difference between these two. I know that max() is an 
> aggregate function

... and greatest() is a normal single-row function.

One works vertically, one works horizontally, if that helps you. :-)

Or max() is like sum() and greatest is like +.



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

Предыдущее
От: "Bart Degryse"
Дата:
Сообщение: Re: DIfference between max() and greatest() ?
Следующее
От: Hengky Lie
Дата:
Сообщение: Pls Hlp: SQL Problem