[SELECT count(*) FROM vcitem WHERE IDRub IN () AND Valide='1' AND FR!='' AND Ref NOT IN (13210390,07034010,07034020,07034030,60000020,60000030,60000040,60000050,60000060,60000070,60000080,60000090,60000110,60000120,60000130,60000140,60000150,60000160,60000170,60000180,60000200,60000210,60000220,60000230,60000240,60000250,60000260,60000270,60010120,60010130,60010140,60010150,60010160,60010170,60010180,60010190,60010210,60010220,60010230,60010240,60010250,60010260,60010270,61000070,61000070,61000460,61000470,61000480,61000510,61000520,61000530,61000620,61000670,61000680,61004020,61004030,61004040,61004070,61004080,61004090,61010090,61010110,61010220,61010200,61010260,61010360,63010060,71000020,71000030,71000040,71000050,71000070,71000080,71000090,71000100,71000130,71000140,71000150,71000180,71000190,71000200,71000240,71000250,71000260,71000300,71000360,71000370,71000380,71000390,71000420,71000430,71000440,71000450,71000480,71000480,71000500,71000520,71000530,71000540,71000550,71000560,71000570,71000580,71000590,71000610,71000620,71000630,71000640,71000650,71000660,71000670,71000680,71000700,71000710,71000720,71000730,71000740,71000750,71000760,71000770,71000790,71000800,71000810,71000820,71000830,71000840,71000850,71000860,71000880,71000890,71000900,71000920,71000930,71000940,71000950,71001010,71001020,71001030,71001060,71001070,71001080,71001120,71001130,71001140,71001170,71001180,71001190,71001230,71002010,71002020,71003010,71003020,71003030,71003040,71003050,71003060,71003070,71003080,07040660,07040660,07040660,07040660,07040660,01240350,01240210,08300440,90600730,90600730,90600730,90600730,90600730,90600730,90360200,06051110,06140120,08600200,08045240,08045240,08600300,14030290,90205010,90204000,17050400,90303100,90300660,90300480,90300660,90303100,90010560,02160510,90056960,90057010,90150450,90150450,90150450,50030010,02241500,02241300,13171240,18050550,90060250,50033770,50033650,50034040,90706010,90703910,90703500,90703110,13166000,13166000,13166000,13166000,13166000,13179920,13179920,13179920,13179920,13179920,13179920,13179920,13179920,13179920,13179920,08601200,08601200,11012300,01050380,01050380,02111120,02111120,02111120,02110990,02111120,02111120,02110990,02111110,02111110,02111110,02111110,02111110,02111110,02111110,02111110,02111110,02111080,90600750,90600750,90600750,90600750,90600750,90600750,06140370,08601060,90300670,90300440,90303120,90303110,50030030,50030030,02241510,02241310,50033780,50033660,50034050,90706020,90703920,90703510,90703120,18200020,18200020,18200020,18200020,18200020,18200020,18200020,18200020,18200020,18200020,08601210,02111010,02111150,02111150,02111150,02111150,02111150,02111150,02111150,90600740,90600740,90600740,90600740,90600740,90600740,90706030,90703930,90703520,90703130,13179900,13179900,13179900,13179900,13179900,13179900,13179900,13179900,13179900,13179900,00211230,90600760,90600760,90600760,90600760,90600760,90600760,90706040,90703530,90703140,90706080,90703540,90703160,90703170,90703180,13200820,13200810,13201510,13201520,13201540,13403170,13403180,13403200,13040580,13040590,13040600,13040610,13040000,13040010,13040080,13040160,13040170,13040190,13040100,13402840,13402850,13402880,13403120,13403130,13403150,61010302,60010280,71002211,71002212,71002213,71002214,71002215,71002216,71002217,71002218,71002219,61010401) ] 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 ') AND Valide='1' AND FR!='' AND Ref NOT IN (13210390,07034010,07034020,070340' at line 1