level 1
表A(a,b)和表B(a,b),如果A,B中某条记录的b字段值相同,则将B中的a字段更新到A的a字段中,存在多条这样的记录,求解,谢谢。我自己写了一条不行的
update tbl_security_identity_cache set tbl_security_identity_cache.sid=abc.sid where tbl_security_identity_cache.account_name=adc.account_name
2015年08月06日 01点08分
1
level 4
update A
set A.a=B.a
where A.b=B.b
也不知道对不
✄┈┈┈┈┈┈┈┈┈┈┈┈
乱 浮
武 帷 世 悠
者 幕 中 然
遮 过
2015年08月07日 07点08分
2
我刚开始就是那么写的,不对
2015年08月10日 02点08分