What is the degree of a relation in a database?
What is the degree of a relation in a database?
Solution
✅ Correct Option: 3
The degree of a relation is the number of attributes (columns) in it. A table with the columns RollNo, Name and Class has degree 3.
Option 1: this is the cardinality of a relation, not its degree.
Option 4: a relation has only one primary key, which may be made of several attributes, and this has no link to degree.
Memory trick: Degree = Columns, Cardinality = Rows.
Related questions:
2026: 23 May Shift 2
2025: 27 May Shift 2
2025: 13 May Shift 2
2025: 13 May Shift 2