📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

Which of the following is a domain constraint?

A. A rule that all queries must use an index
B. A rule that two tables must have the same name
C. A rule limiting the values a column may take, such as a data type or CHECK ✅
D. A rule that a database must have only one user

Correct Answer: C. A rule limiting the values a column may take, such as a data type or CHECK

Explanation

  • Domain constraints limit allowed values in a column through data types, CHECK or NOT NULL.
  • They define the valid domain of an attribute.