Sobes.tech
Junior — Middle

Will the primary key in a database be automatically indexed?

sobes.tech AI

Answer from AI

Yes, in most relational databases, the primary key is automatically indexed. This is because the primary key must ensure uniqueness and quick access to table rows. An index on the primary key is created automatically when it is declared, allowing efficient search, update, and delete operations using this key.

Will the primary key in a database be automatically… - sobes.tech