Code has been added to clipboard!

Creating SQL FOREIGN KEY

Example
CREATE TABLE Orders (
    OrderID int NOT NULL,
    DeveloperID int,
    PRIMARY KEY (OrderID),
    FOREIGN KEY (DeveloperID) REFERENCES Developers(DeveloperID)
);