SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776377057 and hide='n' and checked='y' and gid IN (206,640,1171,1248,2335,4466,5120,5682,6321,6509,6725,7281,8786,11668,11713,11756,14728,15797,16932,17393,19012,21940,23832,24410,25394,27016,27126,28427,29315,30708,30818,32625,20636890,)
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