Re: DIfference between max() and greatest() ? - Mailing list pgsql-sql

From Peter Eisentraut
Subject Re: DIfference between max() and greatest() ?
Date
Msg-id 48CA1943.3030701@gmx.net
Whole thread Raw
In response to DIfference between max() and greatest() ?  ("Ruben Gouveia" <rubes7202@gmail.com>)
List 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 by date:

Previous
From: "Bart Degryse"
Date:
Subject: Re: DIfference between max() and greatest() ?
Next
From: Hengky Lie
Date:
Subject: Pls Hlp: SQL Problem