SQL for Calculating Churn, Retention and Re-Engagement | Hacker News Reader