![]() |
|
首页 │ Apache │ Linux│ Java│ MySQL│ 注册│帮助 | |||
相关问题
考虑ID跳空
如: id=30 获取最近的记录 29 和31 如果29删除 就是28 和31
select * from $table where ID < '$id' union select * from $table where ID > '$id' order by UserID limit 2
有人说可以,但我输出不对
提问者:cyhchenz 08-22 15:03
答复

