I\'m new to MySQL. I\'m trying to migrate data from one table to another. So I wrote a procedure. there is an insert statement in the procedure that throws an error. in phpm