摘要: 1.DATE_SUB(date,INTERVAL expr type)函数 实例:select * from xxx where create_time > DATE_SUB(NOW(),INTERVAL 1 HOUR); 以字段create_time为基准,查询表中 一个小时内的数据未完待续。。。 阅读全文
posted @ 2019-10-24 13:37 易水蜗牛 阅读(200) 评论(0) 推荐(0) 编辑