support having clause in group by
support having clause in group by