Error (SELECT *, scuolediballo.ID as IDscuola, scuolediballo.nome as nomescuola, regioni.nome as nomeregione, luoghi.nome as nomeluogo FROM scuolediballo JOIN regioni ON scuolediballo.IDregione = regioni.ID LEFT JOIN luoghi ON scuolediballo.IDlocalita = luoghi.ID WHERE scuolediballo.IDregione = AND scuolediballo.ID != 19 AND INSTR(scuolediballo.tag, "ballicaraibici") > 0 AND active = 1 ORDER BY scuolediballo.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 scuolediballo.ID != 19 AND INSTR(scuolediballo.tag, "ballicaraibici") > 0...' at line 1