Errore: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 '-1,1' at line 6
Non riesco ad eseguire la query
SELECT * FROM indici_periodici, indicicata_periodici, cata_periodici
WHERE indici_periodici.Id = indicicata_periodici.IDRec
AND indicicata_periodici.IDImm = cata_periodici.ID
AND indici_periodici.id = '8931'
ORDER BY cata_periodici.ID
LIMIT -1,1