Class 12 Computer Science Ch 3: Database and SQL

Relational Concepts: Tuple, Attribute, Degree & Keys

Relational Database Terms & Keys

In Relational Database Management Systems (RDBMS), data is stored in relations (tables).

TermRelational DefinitionPractical Analogy
RelationTwo-dimensional table with named columnsTable
TupleA single row of data representing an entity recordRow / Record
AttributeA named column representing an entity propertyColumn / Field
CardinalityTotal count of tuples (rows) in a relationNumber of rows
DegreeTotal count of attributes (columns) in a relationNumber of columns
Primary KeyAn attribute chosen to uniquely identify every tuplee.g. Roll_Number, Aadhaar
Foreign KeyAttribute in a table that references the Primary Key of another tableMaintains Referential Integrity

Practice Questions (1)

View All Chapter Q&A
Multiple Choice Questions (1)
MCQ 1 +1.00 Mark
In a relational database table, what is the term used to denote the total number of rows (tuples)?
A Degree
B Cardinality
C Domain
D Schema
Correct: Option B: Cardinality
Explanation:
Cardinality represents the number of tuples (rows), while Degree denotes the number of attributes (columns).

We use essential cookies to maintain secure sessions and prevent CSRF attacks. With your consent, we and our authorized partner (Google AdSense) also use cookies to serve relevant educational advertisements and evaluate traffic. Learn more in our Cookie Policy and Privacy Policy.