logo

AQA A-Level Computer Science practice

What is the main purpose of a primary key?

Try the question first, then check the answer and practise the same topic again.

At a glance

MCQ

Type

practice

Style

Topic

Relational databases

Exam-style question

Try this first

What is the main purpose of a primary key?.

  1. A.To identify each record uniquely within a table
  2. B.To ensure that every record has the same value
  3. C.To store several tables inside one attribute
  4. D.To prevent a table from containing any attributes

Answer and explanation

Concise answer

To identify each record uniquely within a table

Why this is correct

A primary key provides a unique identifier for each record in its table.

Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.

Common mistake

No common mistake is linked to this question yet.

Related flashcards

No flashcards are published for this page yet.

Related practice questions