Engineersmind corp Interview Question

Sql joins and python dictionary