You cannot use the WHERE clause in an INSERT statement, and you needn't put a bracket '(' after SET in the a UPDATE statment.