Error code (1064): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '),0) or ecq_reg_id = IFNULL((select max(ecq_reg_id) from default_campus_queen wh' at line 1