inizio ricerca: '1644';'()' 1644 : () : valore REGEXP '()' insert into 00119_temp2 select distinct codice from catalogo.00119_desc where id_template='756' and lingua='it' and campo='1644' and codice in (select codice from catalogo.00119_pk where id_template='756' and lingua='it' and visibile=1) and valore REGEXP '()' and codice in (select distinct id_record from site.00119_tags where id_template = '756' and tag in ('2009') ) ciclo 1 [1]: trovati 662 record ciclo 1 [2]: trovati 662 record sql che prende i codici: select codice from catalogo.00119_desc where id_template='756' and lingua='it' and campo='1644' and codice in (select codice from 00119_temp) order by valore limit 640,10 codici trovati in temp: 1515,1851,1684,1225,1522,1685,1778,1827,1779,1654 trovati 662 record corrispondenti 1515,1851,1684,1225,1522,1685,1778,1827,1779,1654