Erro ao executar consulta Unknown column 'index.php' in 'where clause' /** Time: 1601203817 Id Usuário: 1 Trace: #/var/zpanel/hostdata/zadmin/public_html/setedias_com_br/src/Old/Noticias.php [110] #/var/zpanel/hostdata/zadmin/public_html/setedias_com_br/pags/coluna.php [20] #/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 DISTINCT c.id, c.titulo, c.texto, c.exibeVideo, c.youtube, c.galeria, c.IniciarPublicacao, ccd.categoriaConteudo, cc.colunistaConteudo FROM sig_conteudos AS c LEFT JOIN sig_conteudos_colunistas AS cc ON c.id = cc.idConteudo LEFT JOIN sig_conteudos_categorias AS ccd ON c.id = ccd.idConteudo WHERE c.status = 'Ativo' AND cc.colunistaConteudo = index.php GROUP BY c.id ORDER BY c.id DESC LIMIT 1 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 g.id DESC LIMIT 1' at line 16 /** Time: 1601203817 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 g.id DESC LIMIT 1