Erro ao executar consulta You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY DESC LIMIT 1' at line 16 /** Time: 1603812565 Id Usuário: 1 Trace: #/var/zpanel/hostdata/zadmin/public_html/setedias_com_br/src/Old/Noticias.php [224] #/var/zpanel/hostdata/zadmin/public_html/setedias_com_br/pags/coluna.php [30] #/var/zpanel/hostdata/zadmin/public_html/setedias_com_br/pags/colunas.php [2] #/var/zpanel/hostdata/zadmin/public_html/setedias_com_br/index.php [224] **/ SELECT g.caminho, g.comentario FROM sig_ged AS g WHERE g.Modulo = 'conteudos 1.0' AND g.tipo IN('image/jpeg','image/png','image/gif') AND g.idModulo = ORDER BY DESC LIMIT 1