Sobes.tech
Junior — Middle

Can you define two identical primary keys in one table?

sobes.tech AI

Answer from AI

A database table cannot have two identical primary key values. The primary key serves as a unique identifier for each record, and the database guarantees its uniqueness. If you try to insert a duplicate, the DBMS will return an error.

Can you define two identical primary keys in one… - sobes.tech