SELECT SQL_CALC_FOUND_ROWS COUNT(results.c_1) as count, results.* FROM ( SELECT * FROM p_1 WHERE c_1 LIKE "%Armoire%" AND id!=26763 AND c_18 < 1597331497 UNION ALL SELECT * FROM p_1 WHERE c_1 LIKE "%industrielle%" AND id!=26763 AND c_18 < 1597331497 UNION ALL SELECT * FROM p_1 WHERE c_1 LIKE "%vintage%" AND id!=26763 AND c_18 < 1597331497 UNION ALL SELECT * FROM p_1 WHERE c_1 LIKE "%2%" AND id!=26763 AND c_18 < 1597331497 UNION ALL SELECT * FROM p_1 WHERE c_1 LIKE "%portes%" AND id!=26763 AND c_18 < 1597331497 UNION ALL SELECT * FROM p_1 WHERE c_1 LIKE "%bois%" AND id!=26763 AND c_18 < 1597331497 UNION ALL SELECT * FROM p_1 WHERE c_1 LIKE "%MIM4367%" AND id!=26763 AND c_18 < 1597331497 UNION ALL SELECT * FROM p_1 WHERE c_1 LIKE "%Bois%" AND id!=26763 AND c_18 < 1597331497 UNION ALL SELECT * FROM p_1 WHERE c_1 LIKE "%colore%" AND id!=26763 AND c_18 < 1597331497 ) as results WHERE c_18 < 1597331497 GROUP BY results.id ORDER BY count DESC LIMIT 6
Got error 28 from storage engine