Before tables can relate to each other, each record in a table must be uniquely identifiable. Imagine you have a Customers table and two customers share the same name — how would the database know which one placed a particular order? This problem is solved by giving every record a primary key.
A primary key is a column (or combination of columns) that contains a unique value for every record in the table. No two rows can have the same primary key value, and the primary key can never be empty. Common examples include a customer ID number, a student admission number, or an employee payroll number. In a Products table, you might use a product code like "PRD001" as the primary key. In a Students table at a county school in South Sudan, you might use a national ID number or a school-generated admission number.
When you create a table in any database software, you mark one column as the primary key, and the software ensures that no duplicate or empty values can be entered in that column.