Cognizant Interview Question

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