Data Science & Analytics vocabulary · SQL and Querying

Primary key

Meaning in data science & analytics, with examples

nounCommon term

In data science & analytics, primary key means: A column, or a set of columns, whose value is unique for every row in a table and is used to identify each row, such as an order ID.

In Turkish: birincil anahtar

How it is used

Shortened to PK in diagrams and casual talk. A primary key cannot be empty or repeated. When the same column appears in another table to link the two, it is called a foreign key there. Analysts check the key first when counts look wrong.

Example sentences

  1. The primary key of this table is order_id, so every order should appear only once.

  2. This events table has no primary key, which is why we keep finding duplicates.

Common collocations

  • primary key column
  • foreign key
  • unique primary key
  • composite primary key

This word in other fields

The same English word can have a different meaning in another field:

More terms: SQL and Querying

Practise with graded reading

Reading at the right level is the fastest way to make new words stick. Pick free English books by level: