logo
 
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 'SELECT * FROM tb_visitas WHERE ip='34.204.179.0' AND data LIKE ('2019-08-22 15:%' at line 8

SELECT tb_agendas.*, DATE_FORMAT(tb_agendas.data1,'%d/%m/%Y') as data1 FROM tb_agendas WHERE 1 SELECT * FROM tb_visitas WHERE ip='34.204.179.0' AND data LIKE ('2019-08-22 15:%:%') ORDER BY data1 DESC LIMIT 100;