7条回答 默认 最新
丵鹰 2017-06-26 02:45关注select * from table where 多条件 and id =(select min(id) from table where 多条件 and id >当前数据的id) 这个是数据升序的情况,如果是降序就
select * from table where 多条件 and id =(select max(id) from table where 多条件 and id <当前数据的id)本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报
