摘要: 业务表:PayOrder,包含时间类型字段PO_PayTime,则按照任意分钟进行分组统计的查询SQL如下: select cast(floor(cast([PO_PayTime] as float)*24*60/xxx分钟)*xxx分钟/60/24 as smalldatetime) as Tim 阅读全文
posted @ 2019-12-05 15:54 万德福儿 阅读(3504) 评论(0) 推荐(0)