Answers for "how to initialize foreign key in sql"

SQL
1

initialized foreign key in sql

CREATE TABLE Orders
(
OrderID int NOT NULL,
OrderNumber int NOT NULL,
PersonID int,
   
PRIMARY KEY (OrderID),   
FOREIGN KEY (PersonID) REFERENCES Persons(PersonID)

);
Posted by: Guest on August-25-2021

Code answers related to "how to initialize foreign key in sql"

Code answers related to "SQL"

Browse Popular Code Answers by Language