mysql 5分钟倒计时

select * ,now(), DATE_ADD(create_time, INTERVAL 5 MINUTE) from ecs_sms_cache where now() between create_time and DATE_ADD(create_time, INTERVAL 5 MINUTE) order by create_time desc limit 1
posted @ 2015-08-14 15:03  博客ss  阅读(981)  评论(0编辑  收藏  举报