select id from NLC_treatments where id in (8,10,35,55,59,60,61,64,65,66,68,8,10,35,55,59,60,61,64,65,66,68, 8,10,35,55,59,60,61,64,65,66,68,8,10,35,55,59,60,61,64,65,66,68) and id in ( ) and id = 63You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') and id = 63' at line 1