update table1 set table1.ee=1 from table1 a join table2 b on a.aa=b.aa where a.ee=0 and b.tt=0

解决方案 »

  1.   

    update table1 set ee=1 from table1 left outer join table2
    on table1.aa=table2.aa where table2.tt=0
      

  2.   

    update table1 set table1.ee=1 from  table1 a inner join table2 b on a.aa=b.aa where a.ee=0 and b.tt=0
      

  3.   

    赞同大力的:我忘了table1.ee=0这个条件
      

  4.   

    不行~~
    返回这个错误
    “查询设计器不支持 Optional FROM clause SQL 构造。”
      

  5.   

    update table1 set table1.ee=1 from  table1 a left join table2 b on a.aa=b.aa where a.ee=0 and b.tt=0
      

  6.   

    update table1 set ee=1 from table1 inner join table2 on table1.aa=table2.aa and table1.ee=0 and table2.tt=0
      

  7.   

    我的短信内容大概是:
      那贴就让它吧!我估计即使经理也不能把它移回来了!呵呵!
      你到底是GG还是DD呀????
      

  8.   

    这个我收到了,我已经给你回过信息,而且是两个,你看了信息就知道是GG还是DD了。:)