Amdocs interview question

3rd highest Salary query