Home:ALL Converter>Error with oracle ORA-00907: missing right parenthesis

Error with oracle ORA-00907: missing right parenthesis

Ask Time:2015-11-09T22:56:44         Author:Pryda

Json Formatter

I'm using Oracle10g Express edition and I tried to create this tables but an Error appeared and I need some help fixing the "ORA-00907: missing right parenthesis" problem. I searched for a solution to this error and it looks like the main reason is not the "missing right parenthesis" but I still can't fix the code.

CREATE TABLE Pays
(
    codePays NUMBER(4) CONSTRAINT pk_Pays PRIMARY KEY,
    nomPays VARCHAR(20)
);
CREATE TABLE Equipe
(
    codeEquipe NUMBER(4) CONSTRAINT pk_Equipe PRIMARY KEY,
    nomEquipe VARCHAR(4),
);
CREATE TABLE Etape
(
    numEtape NUMBER(4) CONSTRAINT pk_Etape PRIMARY KEY,
);
CREATE TABLE Coureur
(
    numCoureur NUMBER(4) CONSTRAINT pk_Coureur PRIMARY KEY,
    codeEquipe NUMBER(4),
    codePays NUMBER(4),
    CONSTRAINT FK_Equipe_Coureur FOREIGN KEY(codeEquipe) REFERENCES Equipe(codeEquipe);
    CONSTRAINT FK_Pays_Coureur FOREIGN KEY(codePays) REFERENCES Pays(codePays);
);

Author:Pryda,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/33611870/error-with-oracle-ora-00907-missing-right-parenthesis
yy