Question:

Which one in the following options is not a constraint ?

Show Hint

In database design, it's important to differentiate between keys (such as candidate keys) and the constraints that are imposed to maintain data integrity (like primary and foreign keys).
Updated On: Apr 24, 2025
  • Primary key
  • Unique
  • Foreign key
  • Candidate key
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is D

Solution and Explanation

A constraint in a database is a rule that ensures the accuracy and integrity of data. Primary key, Unique, and Foreign key are all constraints in relational databases. A Candidate key, on the other hand, is a set of attributes that could uniquely identify a record but is not necessarily used as a constraint until selected as a primary key. Therefore, "Candidate key" is not a constraint in the sense that it does not impose a rule on the data unless it is chosen to be the primary key.
Was this answer helpful?
0
0

Questions Asked in CUET exam

View More Questions