sql - MYSQL statement issues please point out -


  if present (select from person_datetime * where `key` = 'tag' and 'value' = 'blogger ') Start UPDATE person_data SET' value '=' AAI 'end and INSERT start in other person ID (IN, `key',` value ', person_id) IFNULL (maximum +1 ID),' AA ' , 'BBB', 1 person if the data ends;   

It is a complaint that there is a problem in line 1. Please tell why I did wrong

change END if to END should do this.

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -