Запрос:
DELETE FROM gc_user
WHERE bdate <= DATE_SUB(NOW(), INTERVAL 30 DAY)
AND activate != ''. Ошибка 1194: Table 'gc_user' is marked as crashed and should be repairedЗапрос:
SELECT COUNT(*) AS c
FROM gc_advertise
WHERE 1 = 1
AND is_show = 1. Ошибка 144: Table './ufamobilru_cat/gc_advertise' is marked as crashed and last (automatic?) repair failedЗапрос:
SELECT id
FROM gc_advertise
WHERE is_show = 1
ORDER BY bdate DESC
LIMIT 10. Ошибка 144: Table './ufamobilru_cat/gc_advertise' is marked as crashed and last (automatic?) repair failed