1.DATE_SUB(date,INTERVAL expr type)函数 实例:select * from xxx where create_time > DATE_SUB(NOW(),INTERVAL 1 HOUR); 以字段create_time为基准,查询表中 一个小时内的数据未完待续。。。 来源:https://www.cnblogs.com/ncwoniu/p/11731702.html 标签 date函数 select函数 mysql时间函数 time函数 date mysql sub