TCS interview question

Second highest salary sql query