Whenever you're ready, walk me through how you'd approach this.
Describe how you would approach an interview that covers ML, SQL (group by and window functions), and statistics, including how you would reason through the questions.