Error (SELECT congressi.*, regioni.nome as nomeregione, luoghi.nome as nomeluogo FROM congressi JOIN regioni ON congressi.IDregione = regioni.ID LEFT JOIN luoghi ON congressi.IDlocalita = luoghi.ID WHERE congressi.ID != AND datainizio >= "20240504" ORDER BY datainizio ASC, nome ASC): 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 datainizio >= "20240504" ORDER BY datainizio ASC, nome ASC' at line 1