SELECT 2_rivenditori.*, 1_rivenditori.stato, 1_rivenditori.iso_code_2 FROM 1_rivenditori INNER JOIN 2_rivenditori ON (1_rivenditori.ID_COUNT = 2_rivenditori.ID_LIV_SUP) WHERE 1_rivenditori.CESTINO='No' AND 1_rivenditori.ID_LINGUA='1' AND 2_rivenditori.CESTINO='No' AND 2_rivenditori.ID_LINGUA='1' AND 2_rivenditori.ID_COUNT='' arr.ID_COUNT[i] '' GROUP BY 2_rivenditori.ID_COUNT ORDER BY 2_rivenditori.ORDINE ASC
In run_query A
DB Error: syntax error