mysql查询大于X分钟数

select * from table where  
date_add(STR_TO_DATE(createtime,'%Y-%m-%d %T:%i:%s'), interval '00:60:00' hour_second)<=current_timestamp()

posted @ 2018-06-07 16:21  小安妮的熊  Views(643)  Comments(0Edit  收藏  举报