Genpact Interview Question

SQL queries related to joins