how to write a query select top 2 record salary in employee
i want details of 2nd record details of employee
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Upendra Pratap ShahiPosted Jun 19, 2015, 2:44 AM
Pankaj Kumar ChoudharyPosted Jun 19, 2015, 1:28 AM
Ramesh MaruthiPosted Jun 18, 2015, 11:18 AM
OVER (ORDER BY sal DESC) rn FROM emp e )
WHERE rn = 2;
Sreekanth ReddyPosted Jun 18, 2015, 9:13 AM
Sreekanth ReddyPosted Jun 18, 2015, 9:10 AM