ERRO NA CONSULTA SQL: select v.* from video v inner join video_categoria vc on v.Video_CategoriaId = vc.Video_CategoriaId where v.Situacao = 'ativo' and vc.Situacao = 'ativo' and v.Video_CategoriaId = *** order by v.Data descSQLSTATE[42000]: Syntax error or access violation: 1064 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 v.Data desc' at line 1