LTIMindtree Interview Question

Questions about SQL joins, Java loops