Thread: minimum and maximum functions

minimum and maximum functions

From
"josep porres"
Date:
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

Re: minimum and maximum functions

From
"josep porres"
Date:
aaaahh ok

greatest()/least()

2008/4/1, josep 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