SELECT SQL_CALC_FOUND_ROWS COUNT(results.c_1) as count, results.* FROM ( SELECT * FROM p_1 WHERE c_1 LIKE "%Coffre%" AND id!=27274 AND c_18 < 1597332290 UNION ALL SELECT * FROM p_1 WHERE c_1 LIKE "%tapissé%" AND id!=27274 AND c_18 < 1597332290 UNION ALL SELECT * FROM p_1 WHERE c_1 LIKE "%design%" AND id!=27274 AND c_18 < 1597332290 UNION ALL SELECT * FROM p_1 WHERE c_1 LIKE "%Made%" AND id!=27274 AND c_18 < 1597332290 UNION ALL SELECT * FROM p_1 WHERE c_1 LIKE "%com%" AND id!=27274 AND c_18 < 1597332290 UNION ALL SELECT * FROM p_1 WHERE c_1 LIKE "%coffre%" AND id!=27274 AND c_18 < 1597332290 UNION ALL SELECT * FROM p_1 WHERE c_1 LIKE "%rectangulaire%" AND id!=27274 AND c_18 < 1597332290 UNION ALL SELECT * FROM p_1 WHERE c_1 LIKE "%rangement%" AND id!=27274 AND c_18 < 1597332290 UNION ALL SELECT * FROM p_1 WHERE c_1 LIKE "%beige%" AND id!=27274 AND c_18 < 1597332290 UNION ALL SELECT * FROM p_1 WHERE c_1 LIKE "%Decker%" AND id!=27274 AND c_18 < 1597332290 ) as results WHERE c_18 < 1597332290 GROUP BY results.id ORDER BY count DESC LIMIT 6
Got error 28 from storage engine