Chevron Interview Question

How foreign and primary key works in a dataset/database