Select Find Nth Highest Salary Record In Sql Server
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
Sandeep Singh ShekhawatRank #147 · 15.6K reputationPosted Aug 7, 2013, 9:02 PM EDT
Abhineet SrivastavaRank #1,890 · 783 reputationPosted Aug 7, 2013, 7:31 PM EDT
http://www.programmerinterview.com/index.php/database-sql/find-nth-highest-salary-sql/
Iftikar HussainRank #423 · 5.9K reputationPosted Aug 7, 2013, 8:19 PM EDT
Try like this
using Row_Number
Regards,
Iftikar
Anurag SarkarRank #1,049 · 1.8K reputationPosted Aug 7, 2013, 8:21 PM EDT
select MAX(Salary) from Employee;
For more move here:- http://blog.sqlauthority.com/2008/03/12/sql-server-2005-find-nth-highest-record-from-database-table-using-ranking-function-row_number/
Thanks.