support for functional call in GROUP BY clause added