首页
技术
登录
6mi
u
盘
搜
搜 索
技术
sql:统计(group by)
sql:统计(group by)
技术
2022-07-13
72
1、sum和group by
select s.CreateTime,sum(Value) from ( SELECT a.CreateTime CreateTime, a.`Value` Value FROM lubri_log a) s GROUP BY s.CreateTime
转载请注明原文地址:https://ipadbbs.8miu.com/read-23823.html
最新回复
(
0
)