Do you happen to know what version of MySQL you are running? This was a subquery we snuck in, and your version of MySQL might not support it.

If you really need to get rid of it for now you can just remove it directly with the following SQL command.

SQL Query
delete from ubbt_GROUPS where GROUP_ID='6'