I'm trying to set the adminid of CTBan_Log to the value of sb_admins aid (admin id) but only where the steamid matches the authid of the row
UPDATE CTBan_Log ct
INNER JOIN sb_admins s ON
ct.adminid = s.aid
INNER JOIN sb_admins st ON
ct.admin_steamid = st.authid
SET adminid=s.aid WHERE admin_steamid=st.authid
this executes but doesn't edit any rows. What am I doing wrong?