Ranking and Filtering Groups with HAVING: Writing Conditional Aggregates That Go Beyond WHERE | Wicked Smart Data