Skillz interview question

two SQL question, one python question