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