Explain a complex SQL query or data workflow you built recently to solve a specific business problem.