UPDATE ofuser SET auid = '0' WHERE uid in (SELECT uid FROM (select tmp.* from ofuser tmp)a WHERE auid = '1' and did = '".$_SESSION['did']."')
更新加子查询加相同的表解决办法 mysql
2022-03-25 21:38:14
2022-03-25 21:38:14
UPDATE ofuser SET auid = '0' WHERE uid in (SELECT uid FROM (select tmp.* from ofuser tmp)a WHERE auid = '1' and did = '".$_SESSION['did']."')