What is a primary key in MariaDB?

What is a primary key in MariaDB?

a) A key that identifies a unique record in a table
b) A key that is always indexed
c) A key that encrypts the database
d) A key used to sort the records

Answer:

a) A key that identifies a unique record in a table

Explanation:

A primary key uniquely identifies each record in a table, ensuring that no two rows have the same primary key value.

Reference:

MariaDB Quiz – MCQ Questions and Answers

Scroll to Top