What is the difference between a primary key and a foreign key in a database?
Anonymous
A primary key uniquely identifies a row in the table it is a key for. A foreign key uniquely identifies a row from a different table in order to make its contents accessible from the table it is a foreign key for.
Check out your Company Bowl for anonymous work chats.