首页| 论坛| 消息
主题:add column
回帖:update mm_fyinfo a   set re2=(select b.pname from oy_district b  where a.disid=b.id )  where  a.re2='undefined' 

 

update zl_fyinfo a   set re2=(select b.pname from oy_district b  where a.disid=b.id )  where  a.re2='undefined'   
---------------------
作者:qq_37677123
来源:CSDN
原文:https://blog.csdn.net/qq_37677123/article/details/79447110
版权声明:本文为博主原创文章,转载请附上博文链接!
下一楼›:UPDATE f_threads_collect set f_threads_collect.fid=(select fid where f_threads where f_thr ..
‹上一楼:UPDATE a t1,b t2
SET t1.字段名=t2.字段名
WHERE t1.字段名=t2.字段名

查看全部回帖(8)
«返回主帖