mysql如何查询下一条数据

mysql如何查询下一条数据

select * from table_a where id = (select min(id) from table_a where id > {$id});

 

posted @ 2021-08-03 10:41  newmiracle宇宙  阅读(111)  评论(0编辑  收藏  举报