Trending Oc Base Group Select month, day, count(*) as count, avg(dep_delay) as avg_delay from flights group by month, day having. Oc Base Group : The base model is simple because of this.