Compute churn and revenue churn in SQL | Intuit