SmartNews interview question

3 questions, Python SQl and analytics