Minder - Multiplicamos conhecimento
Consultor




Agenda de eventos

Erro na execução da query!
SQL: SELECT ta.id_area, ta.nome AS area, ta.palavra_chave, ta.cor1, ta.cor2, ta.cor3 FROM treinamentos t, treinamentos_areas ta WHERE ta.id_area = t.id_area AND ( t.id_professor = OR t.id_professor2 = ) and t.ativo=1 GROUP BY ta.id_area ORDER BY ta.nome ASC

Erro: 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 'OR t.id_professor2 = ) and t.ativo=1 GROUP BY ta.id_area ORDER BY ta.nome' at line 6