会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
天涯alone
前面是高山,后面是大海
博客园
首页
新随笔
联系
订阅
管理
2016年11月17日
Mysql 时间操作
摘要: Mysql 时间操作(当天,昨天,7天,30天,半年,全年,季度) 1 、 查看当天日期 select current_date(); 2、 查看当天时间 select current_time(); 3、查看当天时间日期 select current_timestamp(); 4、查询当天记录 select * from 表名 where to_days(时...
阅读全文
posted @ 2016-11-17 10:03 天涯alone
阅读(211)
评论(0)
推荐(0)
编辑
公告