Computer Science
Differentiate between degree and cardinality of a relation.
Relational Database
9 Likes
Answer
| Degree of a relation | Cardinality of a relation |
|---|---|
| The number of attributes in a relation is called the Degree of the relation. | The number of tuples in a relation is called the Cardinality of the relation. |
| For example, if a relation has attributes like Name, Age, and Address, then its degree is 3. | For example, if a relation contains 10 records or tuples, then its cardinality is 10. |
Answered By
1 Like