can anybody tell us, how to select 2nd max salary from table. my id is ashish.akk@gmail.com
select max(sal) from tablename where sal<(select max(sal)from tablename)