Question 119Asked in BPSC TRE 3.0 (2024) Computer Science Class 11-12

In a relational database, what is a primary key?

  1. AA key used to uniquely identify each record in a table
  2. BA key used to establish relationships between tables
  3. CA key used to sort records in a table
  4. DMore than one of the above
  5. ENone of the above
Show answerHide answer

Correct answer: (A) A key used to uniquely identify each record in a table

Explanation

A primary key uniquely identifies each record (row) in a table and cannot be NULL. Linking tables is the job of a foreign key.

From BPSC TRE 3.0 (2024) Computer Science Class 11-12 — Previous Year Paper

This is question 119 of BPSC TRE 3.0 (2024) Computer Science Class 11-12 — Previous Year Paper. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.