Pergunta de entrevista da empresa GovCIO

What is the difference between a primary key and a unique key?

Resposta da entrevista

Sigiloso

4 de fev. de 2025

A Primary Key uniquely identifies each record in a table and cannot have NULL values. A Unique Key also enforces uniqueness but can contain NULL values (one or more).