Portarias

Numero Nome Data e Hora Exercício Objeto Legislatura Prefeito Visualizar
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.229.24.100' AND data LIKE ('2019-07-18 01:' at line 1

SELECT * FROM tb_portarias WHERE status='S' SELECT * FROM tb_visitas WHERE ip='34.229.24.100' AND data LIKE ('2019-07-18 01:%:%') ORDER BY data DESC