FanDuel interview question

Some SQL queries joining tables and then a promotion analysis in Python