Pergunta de entrevista da empresa Chevron

How foreign and primary key works in a dataset/database