Question:

A domain in a relational database refers to:

Updated On: Mar 29, 2025
  • The overall database structure
  • A specific set of valid values for an attribute
  • A table containing multiple records
  • A relationship between two tables
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

A domain in a relational database refers to a specific set of valid values for an attribute.

(1) The overall database structure: This describes the schema, not a single domain.

(2) A specific set of valid values for an attribute: A domain defines the set of possible values that an attribute can take. For instance, the domain of a "gender" attribute might be {"Male", "Female", "Other"}.

(3) A table containing multiple records: This describes a table or relation itself, not a domain.

(4) A relationship between two tables: This describes a relationship, such as a foreign key constraint, not a domain.

Therefore, a domain in a relational database refers to: (2) A specific set of valid values for an attribute.

Was this answer helpful?
0
0