minimum and maximum functions

Started by josep porresabout 18 years ago2 messagesgeneral
Jump to latest
#1josep porres
jmporres@gmail.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

#2josep porres
jmporres@gmail.com
In reply to: josep porres (#1)
Re: minimum and maximum functions

aaaahh ok

greatest()/least()

2008/4/1, josep porres <jmporres@gmail.com>:

Show quoted text

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