解决方案 »

  1.   

    既然不考虑使用 join, 那只能写两次了,没有set (a,b) = (a1,b1)这种形式。
      

  2.   


    没有你写的那种更新方式。
    估计你想做的是关联表更新,如果是,则如下
    update table_a,table_b set table_a.a = table_b.aa,table_a.b = table_b.bb where table_a.id = table_b.id;
      

  3.   

    select aa,bb from table_b where table_b.id=table_a.id 可以先将aa.bb查出来然后在更新。