Mudra Circle Interview Question

just SQL queries find second max salary oops concept