Erreur générée dans le fichier /var/web/soccerpark3/htdocs/framework/lib/framework/modules/fwDatabase/fwDatabase_Query.class.php, ligne 144 :
fwDatabase_Query
ERREUR SQL : #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND m.evenements_id = 1561 AND m.matchs_termine = "Y"' at line 1
QUERY : SELECT SUM(IF((m.matchs_score1 > m.matchs_score2), 3, (IF((m.matchs_score1 = m.matchs_score2), 1, 0)))) as pts, SUM(m.matchs_fairplay1) as fairplay, COUNT(*) as joues, SUM(IF(m.matchs_score1 > m.matchs_score2, 1, 0)) as gagnes, SUM(IF(m.matchs_score1 = m.matchs_score2, 1, 0)) as nuls, SUM(IF(m.matchs_score1 < m.matchs_score2, 1, 0)) as perdus, SUM(m.matchs_score1) as bp, SUM(m.matchs_score2) as bc FROM matchs m WHERE m.equipes_id1 = AND m.evenements_id = 1561 AND m.matchs_termine = "Y"