UPDATE usertextfield AS ut INNER JOIN user AS u ON ut.userid = u.userid SET signature=NULL WHERE ut.signature LIKE '%url%' AND u.usergroupid = 2;