select min(sal) as sal from emp where sal in
(select distinct top 2 sal from emp with (nolock) order by sal desc )
---------------------------------
create table EmpDup(empid int,name varchar(20))
Hi friends i am writing this article to find the last day of the month.I think it may useful to you.