+ 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 RĂ©ponses
+ 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