Revature interview question

Basic Python and Sql questions