Tredence interview question

SQL, ML, case study, puzzle