No results found for "sql group by case statement with aggregate function". Try a different search term.