extract aggregation function as well if in case aliasing is not provided. both function and aliasing name are extracted