EXL Service Interview Question

Simple SQL queries for join and some calculations