mysql同时查询两个Id字段的语法

来源:互联网 发布:寒武纪科技知乎 编辑:程序博客网 时间:2024/05/17 00:11
select * from oplogstb where   id in (id-1,id+1);
//根据两个id同时查询两条语句


0 0
原创粉丝点击