add table option to sum/min/avg/max functions, for optional subclass aggregate