SELECT SQL_CACHE * FROM v_famiglia_prodotti_anteprima WHERE (1p_macrocategoria='6' OR 1p_macrocategoria LIKE '%;6;%' OR 1p_macrocategoria LIKE '%;6' OR 1p_macrocategoria LIKE '6;%') AND 1p_ID_LINGUA='1' AND 1p_anteprima_macro='Si' AND 1p_attivazione='Si' AND 1p_mono!='Si' AND FIND_IN_SET('13', REPLACE(2p_categoria, ';', ',') )>0 GROUP BY 1p_id_count UNION SELECT SQL_CACHE * FROM v_famiglia_prodotti_anteprima WHERE (2p_macrocategoria='6' OR 2p_macrocategoria LIKE '%;6;%' OR 2p_macrocategoria LIKE '%;6' OR 2p_macrocategoria LIKE '6;%') AND 1p_ID_LINGUA='1' AND 2p_anteprima_macro='Si' AND 2p_attivazione='Si' AND FIND_IN_SET('13', REPLACE(2p_categoria, ';', ',') )>0
In run_query A
DB Error: unknown error