摘要: 查询当前数据的上一条和下一条数据,在MySQL里通过 ”order by“实现,例如: 上一条:select * from aft_article where id < 10 order by id desc limit 1 下一条:select * from aft_article where i 阅读全文
posted @ 2019-11-28 21:42 不睡 阅读(6250) 评论(0) 推荐(0) 编辑