Concept Flow - One-to-one relationship design
Create Table A
Create Table B
Add Primary Key to A
Add Primary Key to B
Add Foreign Key in B referencing A
Enforce Unique Constraint on Foreign Key in B
One-to-One Relationship Established
Create two tables each with a primary key. Then add a foreign key in one table referencing the other, with a unique constraint to ensure one-to-one mapping.
