1064 - you have an error in your sql syntax check the manual that c

MySQL Syntax Check or Hive SQL Syntax Checker to help with revisions. MySQL Support may also be of assistance for ways to do this within the program. I also recommend crosschecking your MySQL code against SQL syntax checker such as Piliapp MySQL Syntax Check or Hive SQL Syntax Checker to help with revisions. The sql procedure works like a charm ... ................
................