Write SQL for streaming cohort metrics | HBO