sql按天分组,这都不会 晕!!!!!!!
select to_char(createtime,‘yyyymmdd‘),count(1) from os_user_config_0705 group by to_char(createtime,‘yyyymmdd‘) order by 1;
时间: 2024-10-18 02:49:02
sql按天分组,这都不会 晕!!!!!!!
select to_char(createtime,‘yyyymmdd‘),count(1) from os_user_config_0705 group by to_char(createtime,‘yyyymmdd‘) order by 1;