Pergunta de entrevista da empresa Cognizant

write query to find the second highest salary maximum of a subarray