TikTok Interview Question

SQL Technical Interview, Three Questions, each increasing in difficulty