Answers for "initialize foreign key"

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 "SQL"

Browse Popular Code Answers by Language