Galerie | Détails | Erreur SQL ! create view p AS select m.IdJoueur, NomJoueur, PrenomJoueur, AnneeNaisJoueur, MoisNaisJoueur, JourNaisJoueur, FinContratJoueur, PosteJoueur, NumeroJoueur, OptionJoueur, NiveauJoueur, IdNatio, ExtNatio, ExtraCommNatio, Nat2Joueur, SUM(StatutT) AS Tit, SUM(StatutR) AS Remp, SUM(Minutes) AS Minutes, SUM(Buts) AS Buts, SUM(DontPen) AS DontPen, SUM(Passes) AS Passes, SUM(CJ) AS CJ, SUM(CR) AS CR, TypeP, ClubSuivantAnnee AS DepartJoueur, ClubSuivantEH AS DepartEHJoueur, ClubSuivant AS ClubSuivantJoueur, ClubPretJoueur, ClubPretFrJoueur, FinPretJoueur, ExtJoueur, PresenceJoueur from joueurs AS j, matches AS m, natios AS n, periodes AS c where j.NatJoueur=n.IdNatio and j.IdJoueur=m.IdJoueur and c.IdJoueur=j.IdJoueur and (((ClubProvenanceEH="8" and ClubProvenanceAnnee<=-1) OR (ClubProvenanceEH="1" and ClubProvenanceAnnee<=)) and ((ClubSuivant = "") OR ((ClubSuivantEH="1" OR ClubSuivantEH="6") AND ClubSuivantAnnee >= ) OR (ClubSuivantEH="8" AND ClubSuivantAnnee >= -1))) GROUP BY j.IdJoueur ORDER BY j.NomJoueur 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 ((ClubSuivant = "") OR ((ClubSuivantEH="1" OR ClubSuivantEH="6") AND C...' at line 1 | |