CBSE · 083Class XII · 2022Section A2 marks
Question 03
7 June 2022 · Computer Science (083)
Differentiate between the terms Attribute and Domain in the context of Relational Data Model.
Answer
- Attribute — A column/field of a table (relation). Each attribute has a name and represents one property of the entity stored in the table. - Domain — The set of permissible values from which an attribute can take its value.
Example :
| Name | Class | Marks |
|---|---|---|
| aaa | XII | 90 |
| bbb | X | 99 |
Here Name, Class and Marks are *attributes*. The attribute Class has the domain {X, XII}.
Explanation
Attribute is the column/field name; Domain is the underlying set of values that column is allowed to take.