Genpact interview question

SQL queries related to joins