Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Question about finding maximum and minimum
How about:
select min(a), max(a)
from
(
select t1.a from t t1 where t1.a >= a1 and t1.a <= a2
![]() |
![]() |