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.IDregione = AND >= '20200604' AND INSTR(eventi.tag, 'ballicaraibici') > 0 AND regioni.nazione = 'it' ORDER BY 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 >= '20200604' AND INSTR(eventi.tag, 'ballicaraibici') > 0 AND re' at line 1