SQL - Brak prawego nawiasu
Próbuję wykonać ten skrypt w Oracle 11g i uzyskać następujący błąd: nie wiem, gdzie brakuje mi parantezy lub jaki jest błąd, pomóż mi to zrozumieć.
Scenariusz:
CREATE TABLE User_Role (
user_role_id INT NOT NULL ,
Users_user_id INT FOREIGN KEY REFERENCES Users(user_id),
User_Types_user_type VARCHAR(20) FOREIGN KEY REFERENCES User_Types(user_type),
PRIMARY KEY(user_role_id)
)
Błąd:
ORA-00907: brak prawego rodzica