Re: minimum function - Mailing list pgsql-general

From Tom Lane
Subject Re: minimum function
Date
Msg-id 15489.1182617621@sss.pgh.pa.us
Whole thread Raw
In response to minimum function  (Gunther Mayer <gunther.mayer@googlemail.com>)
Responses Re: minimum function  (Gunther Mayer <gunther.mayer@googlemail.com>)
List pgsql-general
Gunther Mayer <gunther.mayer@googlemail.com> writes:
> SELECT minimum(5,6) => 5

You're looking for the least/greatest functions (in 8.1 and up IIRC).

            regards, tom lane

pgsql-general by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: minimum function
Next
From: Magnus Hagander
Date:
Subject: Re: Proposed Feature