Capgemini interview question

Find second largest salary query