Skip to main contentSkip to solution

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.

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question