A primary key uniquely identifies each row in a table; a foreign key references the primary key of another table, establishing a relationship between tables and enforcing referential integrity (you can't reference a row that doesn't exist).
Primary key — unique row identifier
users (
id ,
name (),
email ()
);
