SELECT SQL_CACHE * FROM v_famiglia_prodotti WHERE 1p_ID_LINGUA='5' AND 1p_attivazione='Si' AND 2p_attivazione='Si' AND 1p_cestino!='Si' AND 2p_cestino!='Si' AND (1p_designer='1009' OR 1p_designer LIKE '%;1009;%' OR 1p_designer LIKE '%;1009' OR 1p_designer LIKE '1009;%' ) AND 1p_mono='Si' UNION SELECT SQL_CACHE * FROM v_famiglia_prodotti WHERE 1p_ID_LINGUA='5' AND 1p_attivazione='Si' AND 2p_attivazione='Si' AND 1p_cestino!='Si' AND 2p_cestino!='Si' AND (1p_designer='1009' OR 1p_designer LIKE '%;1009;%' OR 1p_designer LIKE '%;1009' OR 1p_designer LIKE '1009;%' )AND 1p_mono<>'Si' GROUP BY 1p_id_count ORDER BY 1p_titolo,2p_titolo
In run_query A
DB Error: unknown error