SQL 错误: ORA-00904
我的代码是:
CREATE TABLE VINTAGEWINE
(
WINE_ID VARCHAR2(5) NOT NULL,
WINE_NAME VARCHAR2(25) NOT NULL
VINTAGE_YEAR VARCHAR2(4) NOT NULL,
EMPLOYEE_ID VARCHAR2(6) NOT NULL,
CONSTRAINT PK_VINTAGEWINE PRIMARY KEY(WINE_ID),
CONSTRAINT FK1-VINTAGEWINE FOREIGN KEY(WINE_NAME) REFERENCES WINE(WINE_NAME),
);
错误:
Error at Command Line:8 Column:14
Error report:
SQL Error: ORA-00904: : invalid identifier
00904. 00000 - "%s: invalid identifier"
*Cause:
*Action:
我不知道我的代码有什么问题。我做了什么蠢事吗?