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)
);
Code has been added to clipboard!
CREATE TABLE Orders (
OrderID int NOT NULL,
DeveloperID int,
PRIMARY KEY (OrderID),
FOREIGN KEY (DeveloperID) REFERENCES Developers(DeveloperID)
);