alias name based on column name

build the alias name based on column name, instead of hard-coded name ("avg/min/max/sum_id)