1194 Table 'products' is marked as crashed and should be repaired
in:
[select count(p.products_id) as count from products p , products_to_categories p2c where p.products_status = 1 and p.products_id = p2c.products_id and p.parent_module='' and p.is_model = 1 and ( p2c.categories_id =125 or p2c.categories_id =115 or p2c.categories_id =11502 or p2c.categories_id =11503 or p2c.categories_id =11505 or p2c.categories_id =11506 or p2c.categories_id =11507 or p2c.categories_id =100003274 or p2c.categories_id =100006075 or p2c.categories_id =145 or p2c.categories_id =1520 or p2c.categories_id =37042004 or p2c.categories_id =100001770 or p2c.categories_id =153801 or p2c.categories_id =100001799 or p2c.categories_id =100001801 or p2c.categories_id =100001835 or p2c.categories_id =100001773 or p2c.categories_id =12507 or p2c.categories_id =100001845 or p2c.categories_id =100001846 or p2c.categories_id =100002806 or p2c.categories_id =100002807 or p2c.categories_id =100002808 or p2c.categories_id =100002819 or p2c.categories_id =100002820 or p2c.categories_id =100002826 or p2c.categories_id =100001803 or p2c.categories_id =121 or p2c.categories_id =100001805 or p2c.categories_id =100001806 or p2c.categories_id =100001807 or p2c.categories_id =100001808 or p2c.categories_id =100001809 or p2c.categories_id =100001811 or p2c.categories_id =100005865 or p2c.categories_id =100001813 or p2c.categories_id =1250317 or p2c.categories_id =100001814 or p2c.categories_id =100001816 or p2c.categories_id =100001817 or p2c.categories_id =100001818 or p2c.categories_id =100001819 or p2c.categories_id =100001820 or p2c.categories_id =100001834 or p2c.categories_id =100004782 or p2c.categories_id =100005807 or p2c.categories_id =62604 or p2c.categories_id =100005808 or p2c.categories_id =100005809 or p2c.categories_id =405 or p2c.categories_id =403 or p2c.categories_id =1525 or p2c.categories_id =40301 or p2c.categories_id =40502 or p2c.categories_id =40503 or p2c.categories_id =40504 or p2c.categories_id =40505 or p2c.categories_id =40507 or p2c.categories_id =40508 or p2c.categories_id =40509 or p2c.categories_id =40510 or p2c.categories_id =40511 or p2c.categories_id =40512 or p2c.categories_id =40599 or p2c.categories_id =40601 or p2c.categories_id =40602 or p2c.categories_id =40603 or p2c.categories_id =40604 or p2c.categories_id =40605 or p2c.categories_id =40606 or p2c.categories_id =40607 or p2c.categories_id =40608 or p2c.categories_id =40609 or p2c.categories_id =152213 or p2c.categories_id =100000385 or p2c.categories_id =100000392 or p2c.categories_id =100000394 or p2c.categories_id =100000405 or p2c.categories_id =100000406 or p2c.categories_id =100000407 or p2c.categories_id =100000408 or p2c.categories_id =1514 or p2c.categories_id =1516 or p2c.categories_id =151601 or p2c.categories_id =151602 or p2c.categories_id =151603 or p2c.categories_id =151604 or p2c.categories_id =151605 or p2c.categories_id =151606 or p2c.categories_id =151607 or p2c.categories_id =151401 or p2c.categories_id =151402 or p2c.categories_id =151403 or p2c.categories_id =151404 or p2c.categories_id =151405 or p2c.categories_id =151406 or p2c.categories_id =151407 or p2c.categories_id =151408 or p2c.categories_id =151409 or p2c.categories_id =151410 or p2c.categories_id =151412 or p2c.categories_id =100001688 or p2c.categories_id =100003864 or p2c.categories_id =82104 or p2c.categories_id =82105 or p2c.categories_id =32210031 or p2c.categories_id =100003880 or p2c.categories_id =100003881 or p2c.categories_id =100005826 or p2c.categories_id =100005829 or p2c.categories_id =100005831 or p2c.categories_id =1526 or p2c.categories_id =152601 or p2c.categories_id =152605 or p2c.categories_id =152606 or p2c.categories_id =152607 or p2c.categories_id =1541 or p2c.categories_id =154101 or p2c.categories_id =154102 or p2c.categories_id =154104 or p2c.categories_id =15230501 or p2c.categories_id =100003885 or p2c.categories_id =100003886 or p2c.categories_id =100003887 or p2c.categories_id =100004267 or p2c.categories_id =100004472 or p2c.categories_id =100004488 or p2c.categories_id =200003576 or p2c.categories_id =3710 or p2c.categories_id =1534 or p2c.categories_id =1535 or p2c.categories_id =1704 or p2c.categories_id =1706 or p2c.categories_id =1729 or p2c.categories_id =1733 or p2c.categories_id =1736 or p2c.categories_id =1737 or p2c.categories_id =1905 or p2c.categories_id =131404 or p2c.categories_id =150404 or p2c.categories_id =153802 or p2c.categories_id =371002 or p2c.categories_id =100001404 or p2c.categories_id =1708 or p2c.categories_id =1710 or p2c.categories_id =1711 or p2c.categories_id =1713 or p2c.categories_id =1714 or p2c.categories_id =1715 or p2c.categories_id =1716 or p2c.categories_id =1717 or p2c.categories_id =1718 or p2c.categories_id =1719 or p2c.categories_id =1720 or p2c.categories_id =1723 or p2c.categories_id =1743 or p2c.categories_id =1744 or p2c.categories_id =100001608 or p2c.categories_id =100001617 or p2c.categories_id =200001425 or p2c.categories_id =100001768 or p2c.categories_id =100001776 or p2c.categories_id =100001780 or p2c.categories_id =100001826 or p2c.categories_id =100004554 or p2c.categories_id =100004562 or p2c.categories_id =100005824 or p2c.categories_id =200001438 or p2c.categories_id =200001461 or p2c.categories_id =200002163 or p2c.categories_id =100001824 or p2c.categories_id =100001825 or p2c.categories_id =100001828 or p2c.categories_id =100001830 or p2c.categories_id =100001831 or p2c.categories_id =100003467 or p2c.categories_id =154001 or p2c.categories_id =154002 or p2c.categories_id =154003 or p2c.categories_id =154005 or p2c.categories_id =154006 or p2c.categories_id =154007 or p2c.categories_id =154009 or p2c.categories_id =154010 or p2c.categories_id =100003468 or p2c.categories_id =100004781 or p2c.categories_id =100005827 or p2c.categories_id =100005828 or p2c.categories_id =100004783 or p2c.categories_id =100004789 or p2c.categories_id =100004777 or p2c.categories_id =100004778 or p2c.categories_id =100004779 or p2c.categories_id =100006664 or p2c.categories_id =100006665 or p2c.categories_id =200000921 or p2c.categories_id =200000922 or p2c.categories_id =200000923 or p2c.categories_id =200000924 or p2c.categories_id =200000925 or p2c.categories_id =200000926 or p2c.categories_id =200000927 or p2c.categories_id =200000928 or p2c.categories_id =200001458 or p2c.categories_id =200000920 or p2c.categories_id =1521 or p2c.categories_id =152104 or p2c.categories_id =152107 or p2c.categories_id =100003288 or p2c.categories_id =100003289 or p2c.categories_id =100003290 or p2c.categories_id =100003291 or p2c.categories_id =100003292 or p2c.categories_id =100003293 or p2c.categories_id =1522 or p2c.categories_id =152205 or p2c.categories_id =100003308 or p2c.categories_id =100003310 or p2c.categories_id =100003313 or p2c.categories_id =100003316 or p2c.categories_id =100003317 or p2c.categories_id =100003318 or p2c.categories_id =100003321 or p2c.categories_id =100003322 or p2c.categories_id =100003323 or p2c.categories_id =100003324 or p2c.categories_id =152303 or p2c.categories_id =15230301 or p2c.categories_id =15230302 or p2c.categories_id =15230303 or p2c.categories_id =15230306 or p2c.categories_id =15230309 or p2c.categories_id =15230310 or p2c.categories_id =15230312 or p2c.categories_id =100003060 or p2c.categories_id =100003232 or p2c.categories_id =100003235 or p2c.categories_id =100003236 or p2c.categories_id =100003237 or p2c.categories_id =100001769 or p2c.categories_id =100001789 or p2c.categories_id =100001798 or p2c.categories_id =100005864 or p2c.categories_id =100003040 or p2c.categories_id =100003041 or p2c.categories_id =100003042 or p2c.categories_id =100003043 or p2c.categories_id =100003044 or p2c.categories_id =100003046 or p2c.categories_id =100003049 or p2c.categories_id =100003050 or p2c.categories_id =100005705 or p2c.categories_id =100005830 or p2c.categories_id =100003052 or p2c.categories_id =100003054 or p2c.categories_id =100003055 or p2c.categories_id =100003056 or p2c.categories_id =100003058 or p2c.categories_id =100003238 or p2c.categories_id =15230409 or p2c.categories_id =100003239 or p2c.categories_id =100003240 or p2c.categories_id =100003246 or p2c.categories_id =100003247 or p2c.categories_id =100003248 or p2c.categories_id =100003249 or p2c.categories_id =100003251 or p2c.categories_id =100003252 or p2c.categories_id =100003253 or p2c.categories_id =100003254 or p2c.categories_id =100003255 or p2c.categories_id =100003256 or p2c.categories_id =100003257 or p2c.categories_id =100003258 or p2c.categories_id =100003259 or p2c.categories_id =100003260 or p2c.categories_id =100003261 or p2c.categories_id =100003262 or p2c.categories_id =100003263 or p2c.categories_id =100003264 or p2c.categories_id =100003265 or p2c.categories_id =100003267 or p2c.categories_id =100003268 or p2c.categories_id =100003269 or p2c.categories_id =100003283 or p2c.categories_id =100003284 or p2c.categories_id =100003285 or p2c.categories_id =100003286 or p2c.categories_id =100003326 or p2c.categories_id =152212 or p2c.categories_id =100003327 or p2c.categories_id =100003328 or p2c.categories_id =100003329 or p2c.categories_id =100003330)]