SQL - Table Relationships
Given these tables:
What does the
CREATE TABLE Person ( PersonID INT PRIMARY KEY, Name VARCHAR(50) ); CREATE TABLE Passport ( PassportID INT PRIMARY KEY, PersonID INT UNIQUE, Number VARCHAR(20), FOREIGN KEY (PersonID) REFERENCES Person(PersonID) );
What does the
UNIQUE constraint on PersonID in Passport ensure?