Pregunta de entrevista de Salesforce

Identify duplicates in a table, 2nd max salary