Paycom Interview Question

Difference between foreign and primary key in SQL