大佬们,请教个mysql语句问题
本帖最后由 lzyroot 于 2019-4-7 23:52 编辑id name
1 一
2 一
3 一
4 一
5 一
6 一
7 一
8 一
9 一
10 一
如何把 id2到8之间对应的 name 修改为二?这个语句咋写啊
lol.gif
不懂mysql,大佬勿喷,谢谢大佬们
update name=二
in {
select *
where id>=2 and id<=8
from table
} 枚举可破 zsbd IN (id) update set where between and
页:
[1]