ITWorks InfoTech Interview Question

Basic Python and SQL Queries related to Joints