Re: minimum and maximum functions

From: "josep porres" <jmporres(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: minimum and maximum functions
Date: 2008-04-01 10:54:53
Message-ID: d2d532610804010354n3d3d0785xe93fc14a079c4262@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

aaaahh ok

greatest()/least()

2008/4/1, josep porres <jmporres(at)gmail(dot)com>:
>
> I cannot find predefined functions to find minimum and maximum of at least
> two values.
> Aren't there any?
>
> select min(3,6)
> 3
>
> select max(3,6)
> 6
>
>
>
> Josep Porres
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message x asasaxax 2008-04-01 11:26:44 Re: Primary Key with serial the solution?
Previous Message josep porres 2008-04-01 10:50:28 minimum and maximum functions