CG Infinity Interview Question

How to extract the second largest values in a table?