0
我試圖找到這個查詢中的錯誤,但我找不到括號錯誤。他們看起來對我很正確。錯誤代碼是:Oracle數據庫括號錯誤
ORA-00907: missing right parentheses
下面是該查詢:
CREATE TABLE GRADE
(
COURSE_NO VARCHAR(100),
STUDENT_ID VARCHAR(100),
GRADE VARCHAR(1),
PRIMARY KEY (COURSE_NO, STUDENT_ID)
FOREIGN KEY (COURSE_NO)
REFERENCES COURSE(COURSE_NO),
FOREIGN KEY (STUDENT_ID)
REFERENCES STUDENT(STUDENT_ID),
FOREIGN KEY (GRADE)
REFERENCES GRADE_POINT (GRADE)
);