A relation has 45 tuples & 5 attributes, what will be the Degree & Cardinality of that relation? (a)Degree 50, Cardinality 45 (b)Degree45, Cardinality 5 (c)Degree 5, Cardinality 45 (d)Degree 50, Cardinality 5
Answers
Answered by
0
Answer:
Degree is the number of attributes or columns present in a table.
Cardinality is the number of tuples or rows present in a table.
Patients Degree = 4
Cardinality = 5
Answered by
0
(c) Degree 5, Cardinality 45.
The degree of a relation is the number of attributes or columns in the relation. The cardinality of a relation is the number of tuples or rows in the relation.
Given that the relation has 45 tuples and 5 attributes, the degree of the relation is 5, and the cardinality of the relation is 45.
- The degree of a relation is also sometimes called its arity or width.
- The cardinality of a relation is sometimes called its size or row count.
- In a database, a relation is usually represented as a table with rows and columns.
- The columns of a relation are also sometimes called attributes, fields, or properties.
- The rows of a relation are sometimes called tuples, records, or instances.
- The degree and cardinality of a relation can affect its performance and storage requirements. For example, a relation with a high degree and/or cardinality may require more disk space and take longer to search or join.
- Database designers often use normalization techniques to optimize the degree and cardinality of relations and minimize redundancy and data inconsistencies.
Therefore, the correct answer is (c) Degree 5, Cardinality 45.
#SPJ3
Similar questions