How to find 3rd highest salary in MySQL | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to find 3rd highest salary in MySQL

Very common interview question

31st Aug 2018, 3:25 PM
Rahul shukla
Rahul shukla - avatar
2 Answers
+ 2
SELECT DISTINCT salary FROM `table_name` order by salary DESC LIMIT 1 OFFSET 2
31st Aug 2018, 3:38 PM
Muhammad Idrees
Muhammad Idrees - avatar
0
thank you idrees
31st Aug 2018, 3:42 PM
Rahul shukla
Rahul shukla - avatar