IBM Interview Question

Basic sql query and intermediate python problem.