What is the purpose of a primary key in a relational database?
- Allows NULL values
- Defines data types
- Ensures data uniqueness
- Represents a foreign key
The primary key in a relational database serves the crucial role of ensuring data uniqueness within a table. It uniquely identifies each record, facilitating data integrity and providing a basis for relationships with other tables.
Loading...
Related Quiz
- How does cardinality affect database design and query performance?
- What are the common version control tools used in data modeling projects?
- _______ indexing is a technique where the index entries point directly to the corresponding data blocks.
- What is the primary goal of clustering in database management?
- What is the primary goal of denormalization in database design?