📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

A rule that Salary must be greater than zero is which type of constraint?

A. Referential integrity constraint
B. Domain or check constraint on an attribute ✅
C. Relationship constraint
D. Foreign-key constraint

Correct Answer: B. Domain or check constraint on an attribute

Explanation

A check on allowed values for an attribute is a domain constraint, not a relationship or referential rule.