feature [db] add Query support for sql GROUP BY, HAVING, WITH ROLLUP