MySQL + SQL · Lesson 14

Relation, Tuple, Attribute, Domain, Degree and Cardinality

Relational Terminology

These six terms describe the structure of a table (relation) and appear in almost every DBMS exam.

The Six Terms

TermMeaningstudents table example
RelationThe table itselfstudents
TupleA single row(1, Aman, 88)
AttributeA columnroll_no, name, marks
DomainAllowed values of an attributemarks: 0–100
DegreeNumber of attributes (columns)3
CardinalityNumber of tuples (rows)e.g. 50 students

Summary

  • Relation=table, Tuple=row, Attribute=column.
  • Domain=allowed values, Degree=column count, Cardinality=row count.
🔗

Share this topic with a friend

यह topic किसी दोस्त को भेजें

Found it useful? Send it to a classmate learning the same thing.

अच्छा लगा? जो दोस्त यही सीख रहा है, उसे भेज दीजिए।

WhatsApp