Campeonatos
-
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 'AND Edicao.Visivel = 'S' and Edicao.Encerrado != 'S'
' at line 9
SQL: SELECT Edicao.CodEdicao, Campeonato.Descricao as cDescricao, Edicao.Descricao as eDescricao, Edicao.Encerrado FROM Edicao INNER JOIN Campeonato ON Campeonato.CodCampeonato = Edicao.CodCampeonato WHERE Edicao.CodEntidadeModalidade = AND Edicao.Visivel = 'S' and Edicao.Encerrado != 'S' ORDER BY Ano DESC
-
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 'AND Edicao.Visivel = 'S' and Edicao.Encerrado = 'S'
' at line 9
SQL: SELECT Edicao.CodEdicao, Campeonato.Descricao as cDescricao, Edicao.Descricao as eDescricao, Edicao.Encerrado FROM Edicao INNER JOIN Campeonato ON Campeonato.CodCampeonato = Edicao.CodCampeonato WHERE Edicao.CodEntidadeModalidade = AND Edicao.Visivel = 'S' and Edicao.Encerrado = 'S' ORDER BY Ano DESC