mysql error
Posted: Tue Jun 04, 2013 11:22 am
2013-06-04 10:58:38 : Mysql error: 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 ')' at line 1) in query UPDATE rot_pages set shows = CASE WHEN id = '4' THEN shows + 5 WHEN id = '0' THEN shows + 0 END WHERE id IN (4,)
2013-06-04 11:04:40 : Mysql error: 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 ')' at line 1) in query UPDATE rot_pages set shows = CASE WHEN id = '4' THEN shows + 8 WHEN id = '0' THEN shows + 0 END WHERE id IN (4,)
2013-06-04 11:10:27 : Mysql error: 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 ')' at line 1) in query UPDATE rot_pages set shows = CASE WHEN id = '4' THEN shows + 9 WHEN id = '0' THEN shows + 0 END WHERE id IN (4,)
2013-06-04 11:11:19 : Mysql error: 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 ')' at line 1) in query UPDATE rot_pages set shows = CASE WHEN id = '5' THEN shows + 2 WHEN id = '0' THEN shows + 0 END WHERE id IN (5,)
как поправить
2013-06-04 11:04:40 : Mysql error: 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 ')' at line 1) in query UPDATE rot_pages set shows = CASE WHEN id = '4' THEN shows + 8 WHEN id = '0' THEN shows + 0 END WHERE id IN (4,)
2013-06-04 11:10:27 : Mysql error: 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 ')' at line 1) in query UPDATE rot_pages set shows = CASE WHEN id = '4' THEN shows + 9 WHEN id = '0' THEN shows + 0 END WHERE id IN (4,)
2013-06-04 11:11:19 : Mysql error: 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 ')' at line 1) in query UPDATE rot_pages set shows = CASE WHEN id = '5' THEN shows + 2 WHEN id = '0' THEN shows + 0 END WHERE id IN (5,)
как поправить