That's what I thought.
Seems like your mySQL Version does not support this Query Syntax.
Can you try the following Query in phpMyAdmin if it generates errors?
[sql]
DELETE moderator FROM moderator AS moderator, moderatorusergroup AS moderatorusergroup
WHERE moderator.userid = 11
AND moderator.moderatorusergroupid = moderatorusergroup.moderatorusergroupid
AND NOT (moderatorusergroup.usergroupid IN (2));
[/sql]
|