Papaya interview question

3 sql questions, 1 case study