为了账号安全,请及时绑定邮箱和手机立即绑定

关于数据库方面的问题求大神解答

关于数据库方面的问题求大神解答

13151891973849923 2017-03-27 17:09:47
SELECT MainMan,SUM(TranAllowance) AS TranAllowancesum, SUM(BasMainService) AS BasMainServicesum, SUM(FastService) AS FastServicesum, SUM(DeskService) AS DeskServicesum, SUM(McDonService) AS McDonServicesum, SUM(ServerService) AS ServerServicesum, SUM(NetworkService) AS NetworkServicesum, SUM(VulnSystemIntegServices) AS VulnSystemIntegServicessum,LEFT(CONVERT(varchar(100), DisDate, 20),7) AS Time  FROM TestTable  WHERE dateadd(dd,-day(getdate())+1,getdate())   AND  dateadd(dd,-day(getdate()),dateadd(m,1,getdate())) GROUP   BY MainMan,LEFT(CONVERT(varchar(100), DisDate, 20),7)  在RoadFlow 我需要查询日期范围的内容我查询的时候会显示查询错误  求大神解答!
查看完整描述

目前暂无任何回答

  • 0 回答
  • 0 关注
  • 1374 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信