2 posts tagged aggregate-functions

SQL select only rows with max value on a column
mysqlsqlaggregate-functionsgreatest-n-per-groupgroupwise-maximum
Finding records sets with GROUP BY and SUM
sqlgroup-byaggregate-functions