SQL and aggregated data: is there a better way? | Heykuki News