Search Postgresql Archives

Re: minimum and maximum functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



aaaahh ok

greatest()/least()

2008/4/1, josep porres <jmporres@xxxxxxxxx>:
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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux