Three maximum salaries from SQL table
How to get three maximum salaries from SQL table.
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.
Neha SharmaPosted Aug 14, 2012, 6:43 AM
sarin sPosted Aug 14, 2012, 6:41 AM
FROM tblEmployeeInfo
ORDER BY [nSalary] DESC
VulpesPosted Aug 14, 2012, 6:34 AM
Rajaprabhu RajaPosted Aug 14, 2012, 6:28 AM
you can use this query...
select top 3 salary from tbl_Employee order by salary desc