摘要: 下策——查询出结果后将时间排序后取第一条 select * from a where create_time<="2017-03-29 19:30:36" order by create_time desc limit 1 这样做虽然可以取出当前时间最近的一条记录,但是一次查询需要将表遍历一遍,对于 阅读全文
posted @ 2018-10-19 09:50 車輪の唄 阅读(79) 评论(0) 推荐(0)