LTIMindtree Interview Question

Two sum problem using python and nth highest salary using sql