Home

Thursday, October 20, 2011

How to find second highest salary in mysql

select max(sal) from salary where sal not in (select max(sal) from salary )

No comments:

Post a Comment

rathoddhirendra.blogspot.com-Google pagerank and Worth