Table '.\gb_carsql\sc_products' is marked as crashed and should be repaired
SELECT COUNT(DISTINCT p.productID) as cnt FROM SC_products p WHERE ( (p.productID IN (13264,13262,13256,13255,13254,13200,13281,13291,13292,13286,13194,13293,13274,13275,13792,14116,14276,13291,13292,14167,14240,14241,13194,13275,13227,13264,13274,13262,13256,13255,13254,13200,13194,13792,13275,13183,13238,13247,13239,13244,13238,13247,13244,13194,13181,13239,13281,13291,13292,13241,13286,13273,13233,13237,13244,13238,13293,13792,13288,13275,13294,13234,13232,13191,13190,13182,13195,13193,13209,13258,13212,13222,13181,13233,13239,13274,13296,13181,13282,13297,13183,13276,13252,14140,13218,13298,13212,13258,13181,13182,13190,13191,13193,13195,13232,13209,13222,13238,13233,13285,13283,13289,13290,13240,13275,13208,13792,13229,13213,13822,13231,13247,13248,13239,13297,13296,13298,13296,13297,13229,13213,13239,13248,13239,13822,13229,13213,13296,13181,13297,13183,13298,13212,13234,13233,13239,13275,13247,13792,13248,13239,13238,13233,13296,13297,13211,13296,13257,13833,13297,13211,13199,13212,13181,13182,13190,13191,13193,13195,13234,13232,13261,13260,13259,13253,13206,13233,13239,13792,13234,13232,13239,13297,13211,13247,13231,13213,13822,13229,14114,13248,13239,13238,13233,13181,13297,13252,13218,14140,13298,13283,13275,13244,13238,13289,13212,13258,13181,13182,13792,13190,13191,13193,13195,13210,13232,13209,13222,13233,13285,13290,13240,13239,13248,13239,13248)) OR (categoryID IN (1964,1965,2197,2198,2199,2201,2202,2203,2204,2206,2207,2208,2209,2249,2250,2251,2252,2253,2254,2255,2256,2257,2258,2259,2260,2261,2262,2263,2267,2268,2269,2270,2271,2272,2281,2314,2394,2416,2423,2424,2425,2200,1963)) ) AND ( enabled=1)