原始的数据结构是这样的:
这是一个信息表,记录下每个app每天对应什么等级
现在需求是:统计每天每个等级有多少个app?
实现的sql如下:
select count(*) as num,level,date from t_app_level_status group by date,
原始的数据结构是这样的:
这是一个信息表,记录下每个app每天对应什么等级
现在需求是:统计每天每个等级有多少个app?
实现的sql如下:
select count(*) as num,level,date from t_app_level_status group by date,