initialized foreign key in sql

Solutions on MaxInterview for initialized foreign key in sql by the best coders in the world

showing results for - "initialized foreign key in sql"
Manuel
08 Aug 2019
1CREATE TABLE Orders
2(
3OrderID int NOT NULL,
4OrderNumber int NOT NULL,
5PersonID int,
6   
7PRIMARY KEY (OrderID),   
8FOREIGN KEY (PersonID) REFERENCES Persons(PersonID)
9
10);