Handle repeated churn in SQL | OpenAI Interview Question