Whenever you're ready, walk me through how you'd approach this.
Tell me about your experience writing SQL queries using window functions like LEAD and LAG.