当我尝试添加外键时,我试图创建与刚刚创建的名称为Company的表链接的第二张表
CREATE TABLE Weapons (
id NUMBER(11),
name VARCHAR2(20),
damage NUMBER(20),
company_id NUMBER(11),
CONSTRAINT pk_Weapons PRIMARY KEY(id),
CONSTRAINT fk_Weapons_company FOREIGN KEY(company_id) REFERENCES Company(id),
);