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).
| Term | Relational Definition | Practical Analogy |
|---|---|---|
| Relation | Two-dimensional table with named columns | Table |
| Tuple | A single row of data representing an entity record | Row / Record |
| Attribute | A named column representing an entity property | Column / Field |
| Cardinality | Total count of tuples (rows) in a relation | Number of rows |
| Degree | Total count of attributes (columns) in a relation | Number of columns |
| Primary Key | An attribute chosen to uniquely identify every tuple | e.g. Roll_Number, Aadhaar |
| Foreign Key | Attribute in a table that references the Primary Key of another table | Maintains Referential Integrity |
Practice Questions (1)
View All Chapter Q&AMultiple 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).