EarlySalary.com interview question

Nth highest salary sql question