(getid) 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'changefreq=daily AND PR.pubblica = 1 AND LS.pubblica=1 AND LS.codlistino = 0 AND' at line 1

-> select left(PR.note,50) as note50, PR.immagine, PR.codprod, PR.descr, rpa.codprod , ac.idALBE,RQ.descr as descriz from relqta RQ,relprodalbero rpa INNER JOIN alberocat ac ON ac.idALBE=rpa.idALBE INNER JOIN prodotti PR on PR.codprod=rpa.codprod INNER JOIN listini LS on LS.codprod=rpa.codprod INNER JOIN gestqtamag GQM on GQM.codprod=rpa.codprod where PR.prodbase=1 AND ac.idcat0=0 AND ac.idcat1=5 AND ac.idcat2=-1 AND ac.idcat3=-1 AND ac.idcat4=-1 changefreq=daily AND PR.pubblica = 1 AND LS.pubblica=1 AND LS.codlistino = 0 AND GQM.codmag='M01' AND RQ.QTAMAX >=IF((GQM.qtadisp - GQM.qtaimpegnata)>0, (GQM.qtadisp - GQM.qtaimpegnata), 0) AND RQ.QTAMIN<=IF((GQM.qtadisp - GQM.qtaimpegnata)>0, (GQM.qtadisp - GQM.qtaimpegnata), 0) AND RQ.NASCONDIART = 0 ---- template: n_index.htm