Walk me through a complex SQL query you wrote recently to solve a business problem at DaVita. What joins and window functions did you use?