LTIMindtree interview question

Two sum problem using python and nth highest salary using sql