ANY answer.
Re: How to find second highest value of a column in a table?
make use of MINUS operator
supposing to find second highest sal from tablename(table)
ie [sql]select max(sal) from( select sal from tablename
MINUS
select max(sal) from tablename)[/sql]
|