msyql两列数据对换

来源:互联网 发布:最后一战源码 编辑:程序博客网 时间:2024/04/30 00:51
update 表名 as a, 表名 as b set a.列明A=b.列明B, a.列明B=b.列明A where a.列明C=b.列明C;
1 0
原创粉丝点击