Following SQL syntax can be used to group data using expression.
select date(added_time) as a,count(*) from test_table group by a
This will group data by date and display its count. It doesn't work grouping with expression, So need to use alias naming for expression.