q请问这个怎么按照时间分组 (同一天的算一条数据)

2025-04-08 01:55:54
推荐回答(1个)
回答1:

例如:select  to_char(t.shrq,'yyyy-mm-dd'),count(*) from zd_qssp t where t.shrq is not null group by to_char(t.shrq,'yyyy-mm-dd')