TransUnion interview question

Difference between primary key and foreign key