Help for this page
SELECT foo, SUM(bar) FROM xyzzy GROUP BY foo
my @data = ( [ 'a', 1 ], ... for (@order) { # Do something with $totals{$_} }