Erro! # 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 'Água do Casado%' AND uf = 'al' ORDER BY RAND(21112024) LIMIT 0,24' at line 1 SELECT * FROM tb_locais WHERE situacao = 'ACEITO' AND termino >= '2024-11-21' AND cidade LIKE '%Olho d'Água do Casado%' AND uf = 'al' ORDER BY RAND(21112024) LIMIT 0,24 |