sql 创建 table "ORA-00907: missing right parenthesis" 时出错

sql error while creating a table "ORA-00907: missing right parenthesis"

我正在尝试创建 table,但 table ROUTE 发生错误。我不知道为什么。你能指出我的问题吗?谢谢。

create table LOCATION (  
  airportCode   VARCHAR2(10) not null,  
  country       VARCHAR2(15) not null,  
  address       VARCHAR2(50) not null,  
  PRIMARY KEY(airportCode));

create table ROUTE (  
  routeID       VARCHAR2(10) not null,  
  airportCode   VARCHAR2(10) not null,  
  description   VARCHAR2(100) not null,  
  PRIMARY KEY(routeID, airportCode)
  FOREIGN KEY(airportCode) REFERENCES LOCATION(airportCode));

这个错误来了,ORA-00907:缺少右括号。所有括号都正确放置但仍然显示此错误。

PRIMARY KEY(routeID, airportCode)FOREIGN KEY(airportCode)

之间少了一个,(逗号)