Currently, we only support sum and count aggregations on a base table with group-by keys. We should also support: - [ ] more aggregation functions, such as min and max; - [ ] aggregations without group-by; - [ ] aggregations on joined tables.