Hi there,
Primary key is the set of attributes that uniquely identifies the records of the table. If we apply primary key in a column then we cannot add duplicate value to it.
Foreign key is a non key attributes those whose values are derived from primary key of some other table.
Hope it helps!
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile