Impresso

Ocorreu um erro ao executar a Query MySQL: select * from materias where ativo = 1 and tipo = order by materia_id desc limit 0,10

Erro no MySQL: 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 materia_id desc limit 0,10' at line 1