会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
临沂东哥
本博客文章来自与网络,如有侵权请联系,给与删除
博客园
首页
新随笔
联系
订阅
管理
2019年9月12日
sql语句根据日期查询,本周,本月,本年,今日相关统计
摘要: 昨天select * from tb where datediff(day, 时间字段 ,getdate()) = 1今天select * from tb where datediff(day, 时间字段 ,getdate()) = 0本周select * from tb where datedif
阅读全文
posted @ 2019-09-12 13:58 临沂东哥
阅读(910)
评论(0)
推荐(0)
编辑