Test Index
Database Concepts
© examsnet.com
Question : 12 of 13
Marks:
+1,
-0
Differentiate between the terms Attribute and Domain in the context of Relational Data Model.
[CBSE 2022 Code 91]
Solution:
Attribute: An attribute is a column of a relation (table). It stores one property of the entity, e.g.
Name or Age in a table STUDENT.Domain: The domain of an attribute is the set of all values that the attribute is allowed to take. Every value in a column must come from its domain.Example: In a table STUDENT, Gender is an attribute; its domain is {'M', 'F'}. The attribute Age may have the domain of whole numbers from 5 to 18.Key point: Attribute = the column itself; Domain = the set of permitted values for that column.© examsnet.com
Go to Question: