fixed check the manual that corresponds to your MySQL server version for the right syntax to use near '))'