Error (SELECT *, locali.nome as nomelocale, locali.IDlocale as IDlocale, eventi.immagine as evento_immagine, eventi.indexes as indexes, eventi.ID as IDevento, eventi.messaggio as messaggioevento, regioni.nome as nomeregione, luoghi.nome as nomeluogo, luoghi.provinciagoogle as nomeprovincia FROM eventi JOIN locali ON eventi.IDlocale = locali.IDlocale JOIN regioni ON locali.IDregione = regioni.ID LEFT JOIN luoghi ON locali.IDlocalita = luoghi.ID WHERE locali.IDprovincia = AND eventi.data >= '20240106' AND INSTR(eventi.tag, 'ballicaraibici') > 0 AND regioni.nazione = 'it' ORDER BY eventi.data ASC, locali.nome ASC LIMIT 100000000): 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 eventi.data >= '20240106' AND INSTR(eventi.tag, 'ballicaraibici') > 0 AN...' at line 1