hi all
here is my query i m trying to get the second highest id_num from my new_employes table
please chk and let me knw what is wrong in it
declare @id int
set @id=select top 2 id_num from new_employes order by id_num desc
select id_num from new_employes where id_num= min(@id)
thx
Anu