clickhouse按天分组

select formatDateTime(create_time, '%Y-%m-%d') dat, count(*) coun
from user where 
group by formatDateTime(create_time, '%Y-%m-%d');

posted @ 2023-06-29 09:16  明明一颗大白菜  阅读(225)  评论(0编辑  收藏  举报
<-- -->