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 (12774,12774,12774,12774,12774,12774,12774,12774,12774,12774,12774,12774,12774,12774,12774,12774,12774,12774,12774,12774,12789,12830,12830,12830,12830,12830,12830,12830,12830,12830,12830,12830,13540,13540,13540,13540,13540,13540,13540,13540,13540,13540,13540,13540,13540,13540,13540,13540,13540,13540,13540,13542,13542,13542,13542,13542,13542,13542,13542,13542,13542,13542,13542,13542,13542,13542,13542,13542,13542,13542,13542,13542,13542,13542,13542,13542,13542,13542,13542,13542,13542,13542,13542,13543,13543,13543,13543,13543,13543,13543,13543,13543,13543,13543,13543,13543,13544,13544,13544,13544,13544,13544,13544,13544,13544,13544,13544,13544,13544,13545,13545,13545,13545,13545,13545,13545,13545,13545,13545,13545,13545,13545,13545,13545,13545,13545,13546,13546,13546,13546,13546,13546,13546,13546,13546,13546,13546,13546,13546,13546,13546,13546,13546,13546,13546,13546,13546,13546,13546,13546,13546,13546,13546,13546,13546,13546,13546,13546,13546,13546,13546,13546,13546,13546,13546,13546,13546,13546,13546,13546,13546,13546,13546,13546,13546,13546,13546,13559,13559,13559,13559,13559,13572,13572,13572,13572,13572,13572,13572,13572,13572,13572,13572,13572,13573,13573,13573,13573,13573,13573,13573,13574,13574,13574,13574,13574,13574,13574,13575,13580,13608,13608,13608,13608,13608,13610,13610,13610,13623,13623,13623,13623,13623,13623,13623,13623,13623,13623,13623,13623,13623,13623,13623,13623,13623,13623,13623,13623,13623,13623,13633,13633,13633,13633,13633,13633,13633,13633,13633,13633,13633,13633,13633,13633,13633,13633,13633,13633,13633,13633,13633,13633,13633,13633,13633,13634,13634,13635,13635,13635,13635,13635,13635,13635,13635,13635,13635,13635,13635,13635,13635,13635,13635,13635,13635,13635,13635,13635,13635,13648,13648,13648,13648,13648,13648,13648,13648,13648,13648,13648,13648,13648,13648,13648,13648,13648,13650,13650,13650,13650,13651,13651,13651,13663,13663,13663,13663,13663,13663,13663,13663,13663,13663,13663,13663,13663,13663,13663,13663,13664,13664,13664,13664,13664,13664,13664,13664,13664,13664,13664,13664,13664,13664,13664,13664,13664,13665,13665,13665,13665,13665,13665,13665,13665,13665,13665,13665,13665,13665,13665,13665,13665,13665,13665,13666,13666,13666,13666,13666,13666,13666,13666,13666,13666,13666,13666,13666,13667,13667,13667,13667,13667,13667,13667,13667,13667,13667,13667,13667,13667,13667,13668,13668,13668,13668,13668,13668,13668,13668,13668,13668,13668,13668,13668,13668,13668,13669,13669,13669,13669,13669,13669,13669,13669,13669,13669,13669,13669,13669,13669,13669,13670,13671,13671,13671,13672,13672,13672,13672,13672,13672,13672,13672,13673,13673,13673,13673,13673,13673,13673,13673,13673,13673,13673,13673,13673,13673,13673,13674,13674,13674,13674,13674,13674,13674,13674,13674,13674,13674,13674,13675,13675,13675,13675,13675,13675,13675,13675,13675,13675,13675,13675,13677,13678,13678,13678,13678,13678,13678,13678,13678,13678,13678,13678,13678,13678,13678,13678,13679,13679,13679,13679,13679,13679,13679,13679,13679,13679,13680,13681,13681,13681,13681,13681,13681,13681,13681,13681,13681,13681,13682,13682,13682,13682,13682,13682,13682,13682,13682,13683,13684,13684,13684,13684,13684,13684,13684,13684,13684,13684,13684,13685,13685,13685,13685,13685,13685,13685,13685,13685,13686,13687,13688,13688,13688,13688,13688,13688,13688,13688,13688,13688,13688,13688,13688,13688,13688,13688,13688,13688,13688,13688,13688,13689,13689,13689,13689,13689,13689,13689,13689,13690,13690,13690,13690,13690,13690,13690,13690,13690,13691,13691,13691,13691,13691,13691,13691,13691,13691,13691,13691,13691,13691,13691,13691,13691,13693,13693,13693,13693,13693,13693,13693,13693,13693,13693,13693,13693,13693,13693,13693,13693,13693,13693,13693,13694,13694,13694,13694,13694,13694,13694,13694,13694,13694,13694,13694,13694,13694,13694,13694,13694,13694,13694,13694,13694,13695,13695,13695,13695,13695,13695,13695,13695,13695,13695,13695,13695,13695,13695,13695,13695,13695,13695,13695,13696,13696,13696,13696,13696,13696,13696,13696,13696,13696,13696,13696,13696,13696,13696,13696,13697,13699,13699,13699,13699,13699,13699,13699,13700,13700,13700,13700,13700,13700,13700,13700,13700,13700,13700,13700,13700,13701,13702,13705,13705,13705,13705,13705,13705,13705,13705,13705,13705,13705,13705,13706,13706,13706,13706,13706,13706,13706,13706,13706,13706,13706,13706,13706,13706,13706,13706,13706,13706,13706,13707,13707,13707,13707,13707,13707,13707,13707,13707,13707,13707,13707,13707,13707,13707,13707,13707,13707,13707,13707,13709,13709,13709,13745,13745,13757,13757,13757,13757,13757,13757,13757,13757,13757,13757,13757,13757,13757,13757,13757,13757,13757,13757,13757,13757,13757,13757,13757,13757,13757,13757,13757,13757,13758,13759,13759,13763,13763,13763,13763,13763,13763,13763,13763,13763,13763,13763,13763,13763,13763,13763,13763,13763,13763,13763,13763,13763,13763,13763,13769,13770,13770,13771,13775,13785,13785,13786,13807,13807,13807,13807,13807,13807,13807,13807,13807,13807,13807,13807,13807,13807,13807,13807,13828,13828,13828,13828,13828,13828,13828,13828,13828,13828,13828,13828,13828,13828,13828,13828,13828,13828,13828,13828,13828,13828,13828,13828,13828,13828,13828,13832,13832,13832,13832,13832,13832,13832,13832,13832,13832,13832,13832,13832,13832,13832,13832,13832,13832,13832,13832,13832,13835,13835,13835,13835,13835,13835,13835,13835,13835,13835,13835,13835,13835,13835,13835,13835,13835,13835,13835,13836,13836,13836,13836,13836,13836,13836,13836,13836,13836,13836,13836,13836,13836,13836,13836,13836,13836,13837,13837,13837,13839,13839,13839,13839,13839,13839,13839,13839,13839,13839,13839,13839,13839,13839,13839,13839,13839,13839,13840,13840,13840,13841,13841,13841,13842,13848,13849,13849,13849,13852,13852,13852,13852,13852,13852,13852,13852,13852,13852,13852,13852,13852,13852,13852,13852,13852,13852,13852,13852,13852,13852,13852,13852,13852,13852,13852,13857,13857,13857,13863,13863,13869,13869,13869,13869,13869,13869,13869,13869,13869,13869,13869,13869,13869,13869,13869,13869,13869,13869,13869,13869,13869,13869,13869,13878,13880,13880,13880,13880,13880,13880,13880,13880,13880,13880,13883,13893,13893,13893,13893,13893,13893,13893,13893,13893,13893,13893,13893,13893,13895,13895,13895,13895,13895,13895,13895,13895,13895,13895,13895,13895,13895,13895,13895,13895,13895,13895,13895,13895,13895,13895,13895,13895,13896,13896,13896,13896,13896,13896,13896,13896,13896,13896,13896,13896,13896,13896,13896,13896,13896,13896,13896,13896,13896,13896,13896,13897,13897,13897,13897,13897,13897,13897,13897,13897,13897,13897,13897,13897,13897,13897,13897,13897,13897,13897,13897,13897,13897,13897,13898,13898,13898,13898,13898,13898,13898,13898,13898,13898,13898,13898,13898,13898,13898,13898,13898,13898,13898,13898,13898,13898,13898,13898,13899,13899,13899,13899,13899,13899,13899,13899,13899,13899,13899,13899,13899,13899,13899,13899,13899,13899,13899,13899,13899,13899,13899,13899,13899,13900,13900,13900,13900,13900,13900,13900,13900,13900,13900,13900,13900,13900,13900,13900,13900,13900,13900,13900,13900,13900,13900,13900,13902,13902,13902,13902,13902,13902,13902,13902,13902,13902,13902,13902,13902,13902,13902,13902,13902,13902,13902,13902,13902,13902,13902,13902,13905,13905,13905,13905,13905,13905,13905,13905,13905,13905,13905,13905,13905,13905,13905,13905,13905,13905,13905,13905,13905,13905,13905,13905,13905,13905,13905,13905,13905,13905,13905,13905,13905,13905,13905,13905,13905,13905,13905,13905,13905,13905,13905,13905,13905,13905,13905,13905,13905,13905,13905,13905,13905,13905,13905,13905,13911,13911,13911,13911,13911,13911,13911,13911,13911,13911,13911,13911,13911,13911,13911,13911,13911,13911,13911,13911,13911,13911,13911,13915,13915,13915,13930,13930,13935,13935,13955,13955,13955,13955,13955,13955,13955,13955,13955,13955,13955,13955,13955,13955,13955,13955,13955,13955,13955,13955,13955,13955,13955,13955,13955,13974,13974,13974,13975,13975,13975,13976,13976,13976,13977,13977,13977,13989,13989,13989,13989,13989,13989,13989,13989,13989,13989,13989,13989,13989,13989,13989,13989,13989,13989,13989,13989,13989,13989,13989,13989,13989,13989,13989,13989,13989,13989,13989,13989,13989,13989,13989,13992,13992,13992,13992,13992,13992,13992,13992,13992,13992,13992,13992,13992,13992,13992,13992,13992,13992,13992,13992,13992,13992,13992,13992,13992,13992,13992,13992,13992,13992,13992,13992,13992,13992,13993,13993,13993,13993,13993,13993,13993,13993,13993,13993,13993,13993,13993,13993,13993,13993,13993,13993,13993,13993,13993,13994,13994,13994,13994,13994,13994,13994,13994,13994,13994,13994,13994,13994,13994,13994,13994,13994,13994,13994,13994,13996,13996,13996,13996,13996,13996,13996,13996,14022,14022,14022,14022,14022,14022,14022,14022,14022,14022,14022,14022,14024,14025,14025,14025,14025,14025,14025,14025,14025,14025,14025,14025,14025,14025,14025,14025,14025,14025,14025,14025,14025,14025,14025,14025,14025,14026,14026,14026,14026,14026,14026,14026,14026,14026,14026,14026,14026,14026,14026,14026,14026,14026,14026,14026,14026,14026,14026,14026,14028,14028,14030,14030,14030,14031,14031,14031,14032,14032,14032,14033,14033,14034,14035,14035,14040,14043,14043,14043,14043,14044,14044,14045,14045,14047,14047,14048,14048,14048,14049,14049,14049,14050,14050,14051,14051,14051,14053,14053,14053,14059,14059,14059,14059,14059,14059,14060,14061,14062,14063,14064,14067,14067,14068,14069,14069,14077,14078,14078,14078,14078,14078,14078,14080,14080,14087,14090,14090,14092,14092,14092,14092,14092,14100,14101,14102,14103,14104,14105,14108,14108,14108,14108,14110,14112,14113,14128,14128,14128,14128,14128,14128,14128,14128,14128,14128,14128,14128,14128,14128,14128,14128,14128,14128,14128,14128,14128,14128,14129,14129,14129,14129,14129,14129,14129,14129,14129,14129,14129,14129,14129,14129,14129,14129,14129,14129,14129,14129,14129,14130,14130,14130,14130,14130,14130,14130,14130,14130,14130,14130,14130,14130,14130,14130,14130,14130,14130,14130,14130,14130,14130,14131,14131,14131,14131,14131,14131,14131,14131,14131,14131,14131,14131,14131,14131,14131,14131,14131,14131,14132,14132,14132,14132,14133,14133,14133,14133,14133,14133,14133,14133,14133,14133,14133,14133,14133,14133,14133,14133,14133,14133,14133,14134,14134,14134,14134,14134,14134,14134,14134,14134,14134,14134,14134,14141,14141,14141,14141,14141,14141,14141,14141,14141,14141,14141,14141,14141,14141,14143,14143,14143,14148,14148,14148,14148,14153,14154,14154,14154,14154,14154,14154,14154,14157,14157,14157,14158,14162,14165,14165,14165,14165,14165,14165,14165,14165,14165,14165,14165,14165,14165,14165,14165,14165,14165,14165,14165,14165,14165,14165,14165,14165,14166,14166,14166,14166,14166,14166,14166,14166,14166,14166,14166,14166,14166,14166,14166,14166,14166,14166,14166,14166,14166,14166,14166,14166,14168,14168,14168,14168,14168,14168,14168,14168,14168,14168,14168,14168,14168,14168,14168,14168,14168,14168,14168,14168,14168,14168,14168,14168,14168,14168,14168,14168,14168,14168,14168,14168,14168,14169,14169,14169,14169,14169,14169,14169,14169,14169,14169,14169,14169,14169,14169,14169,14169,14169,14169,14169,14169,14169,14169,14169,14169,14169,14169,14169,14169,14169,14169,14169,14169,14169,14169,14169,14181,14182,14182,14185,14185,14186,14186,14186,14186,14186,14186,14186,14186,14186,14186,14186,14186,14186,14186,14186,14186,14186,14186,14186,14186,14186,14195,14195,14196,14196,14206,14206,14206,14206,14206,14206,14215,14219,14219,14219,14219,14219,14219,14219,14219,14219,14219,14219,14219,14219,14219,14219,14219,14219,14219,14219,14219,14219,14223,14223,14223,14223,14223,14223,14223,14223,14223,14223,14223,14223,14223,14223,14223,14223,14223,14223,14223,14223,14223,14223,14223,14223,14223,14223,14223,14223,14223,14223,14223,14223,14223,14223,14223,14223,14223,14223,14223,14223,14224,14224,14260,14261,14262,14262,14262,14262,14262,14262,14262,14262,14262,14262,14262,14262,14262,14262,14262,14262,14262,14262,14262,14262,14264,14264,14264,14264,14264,14264,14264,14264,14264,14264,14264,14264,14264,14264,14264,14264,14264,14264,14264,14264,14264,14264,14265,14265,14265,14265,14265,14265,14265,14265,14265,14265,14265,14265,14265,14265,14265,14265,14265,14265,14265,14265,14265,14265,14265,14266,14266,14266,14266,14266,14266,14266,14266,14266,14266,14266,14266,14266,14266,14266,14266,14266,14266,14266,14266,14266,14266)) OR (categoryID IN (2000,2001,2002,2003,2005,2006,2007,2008,2009,2077,2078,2079,2080,2081,2082,2083,2084,2085,2086,2087,2088,2089,2090,2091,2092,2093,2094,2095,2096,2097,2098,2099,2100,2102,2103,2104,2105,2106,2107,2108,2109,2110,2111,2112,2113,2114,2313,2319,2333,2334,2335,2336,2337,2338,2339,2397,2485,1999)) ) AND ( enabled=1)