摘要: 如果你要严格要求是某一年的,那可以这样 查询一天: select * from table where to_days(column_time) = to_days(now()); select * from table where date(column_time) = curdate(); 查询一周: select * from table where DATE_SUB(CURD... 阅读全文
posted @ 2016-06-01 16:35 龙昊雪 阅读(5573) 评论(0) 推荐(0) 编辑