Ti è sembrata interessante questa risposta? Condividila:
1064 => You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND rispostedati_nuovo = 0 AND rispostedati_id <> ORDER BY RAN...' at line 4