日期:2014-05-16 浏览次数:21245 次
select * from tb where col1 < date_add(now(),interval -30 minute); ------解决方案--------------------
SELECT * FROM `tablename` WHERE column_date>=CURRENT_TIMESTAMP - INTERVAL 30 MINUTE;