Meta interview question

Some basic python and sql questions, it was just an into