摘要: select * from table where datediff('2016-06-06',FROM_UNIXTIME(‘时间字段’, '%Y-%m-%d'))<=7 AND FROM_UNIXTIME('时间字段', '%Y-%m-%d') < date('2016-06-06'); FROM 阅读全文
posted @ 2016-06-07 16:35 Rakishly 阅读(514) 评论(0) 推荐(0) 编辑