Just a suggestion, how much work would it be to accept multiple parameters on
aggregate functions?
For instance:
select fubar(field1, field2) from table one group by field1;
The reason I think that this is useful is that for some statistical operations,
often times there is extra "per record" data that can affect how you calculate
a value.