select count(*),substr(cast(begintime as string),1,7) from 表名 where begintime > '2018-12-01' group by substr(cast(begintime as string),1,7);
impala group by 日期查询数据量
最新推荐文章于 2023-03-29 10:38:27 发布
select count(*),substr(cast(begintime as string),1,7) from 表名 where begintime > '2018-12-01' group by substr(cast(begintime as string),1,7);