Three maximum salaries from SQL table
How to get three maximum salaries from SQL table.
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Rajaprabhu Raja57 reputationPosted Aug 14, 2012, 2:28 AM EDT
you can use this query...
select top 3 salary from tbl_Employee order by salary desc
VulpesRank #55 · 29.2K reputationPosted Aug 14, 2012, 2:34 AM EDT
sarin s18 reputationPosted Aug 14, 2012, 2:41 AM EDT
FROM tblEmployeeInfo
ORDER BY [nSalary] DESC
Neha SharmaRank #569 · 4.3K reputationPosted Aug 14, 2012, 2:43 AM EDT