get ginq max-select, min-select, sum-select and group count.