2016-9-25 Frank 数据库
select * from test where id> 100 and created_at>='2016-09-25 00:00:00' order by created_at asc,id asc limit 1
select * from test where id< 100 and created_at<='2016-09-25 00:00:00' order by created_at desc,id desc limit 1
标签: mysql
发表评论 登录:
昵称
发表评论 登录: