support aggragation when no groupby