Cognizant interview question

Find the second maximum salary