Deloitte interview question

Sql second largest salary question