Computer Science for IGCSE & O level - Databases (Section 6 - No. 19)

What is a primary key used for in a database table?
To provide a default value for a field.
To ensure the unique identification of each record in the table.
To create relationships between different tables.
To sort the data within a specific field.

Explanation

The primary key is used to uniquely identify each record in the table, ensuring that data can be accurately retrieved and managed.

Comments (0)

Advertisement