inizio ricerca: '1644';'()' 1644 : () : valore REGEXP '()' insert into 00119_temp2 select distinct codice from catalogo.00119_desc where id_template='756' and campo='1644' and codice in (select codice from catalogo.00119_pk where id_template='756' 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 609 record ciclo 1 [2]: trovati 609 record sql che prende i codici: select codice from catalogo.00119_desc where id_template='756' and campo='1644' and codice in (select codice from 00119_temp) order by valore limit 30,10 codici trovati in temp: 1541,79,81,80,83,1687,1267,1789,1542,1543 trovati 609 record corrispondenti 1541,79,81,80,83,1687,1267,1789,1542,1543