时间:2021-07-01 10:21:17 帮助过:320人阅读
有人教我一下吗?谢谢大神。。。
UPDATE a,b set a.sta = '3',b.scores='b.scores+a.pname' from `member_operation` WHERE aid = '$var' as a left join `member` as b on a.mid=b.mid
UPDATE a,b set a.sta = '3',b.scores='b.scores+a.pname' from `member_operation` WHERE aid = '$var' as a left join `member` as b on a.mid=b.mid
UPDATE a,b set a.sta = '3',b.scores='b.scores+a.pname' from `member_operation` as a left join `member` as b on a.mid=b.mid WHERE a.aid = '$var' 试试这句吧 看看符合你需求么。。
好的 ,我试试,谢谢~!