KwickAcademy Databases and SQL · 6 min · free
The Relational Model: Relation, Tuple, Attribute, Domain, Degree and Cardinality
In the relational model a table is a relation, a row is a tuple and a column is an attribute. Degree counts columns; cardinality counts rows. A domain is the set of values an attribute is allowed to hold.
Follows the syllabus of: CBSE Class 10 Information Technology (402), CBSE Class 12 Computer Science (083), CBSE Class 11 Informatics Practices (065), CBSE Class 11 Information Technology (802)
On screen in this lesson
The relational model
| A data model is a plan for how data is organised |
| The relational model keeps data in tables |
| Tables are linked through common columns |
| Proposed by E. F. Codd in 1970; used by MySQL |
The STUDENT table
| RollNo | Name | Class |
|---|---|---|
| 1 | Riya | 10A |
| 2 | Aman | 10B |
| 3 | Neha | 10A |
| 4 | Kabir | 10C |
Labelling the table
| Common word | Database term | In STUDENT |
|---|---|---|
| Table | Relation | STUDENT |
| Row | Tuple | 2, Aman, 10B |
| Column | Attribute | Name |
Domain of an attribute
| Domain: the set of allowed values for an attribute |
| Every value in a column comes from its domain |
| A value outside the domain is invalid data |
Domains in STUDENT
| Attribute | Domain | Invalid value |
|---|---|---|
| RollNo | whole numbers 1-60 | -5 or 7.5 |
| Name | text, letters | 12345 |
| Class | 10A, 10B, 10C | 10Z |
Degree and cardinality
| Degree = number of attributes (columns) |
| Cardinality = number of tuples (rows) |
| The heading row is not counted as a tuple |
Quick answers
Does adding a row change the degree?
No. It changes the cardinality.
What is a domain?
The set of allowed values for an attribute.
KwickClips from this lesson
Short clips, one idea each. Good for revision the night before.
What is another word for a row?43 sec
What is the domain of marks out of 100?40 sec
A table has 3 columns and 4 rows. What is the cardinality?44 sec
Which model allows many parents?42 secThe full lesson, in text
Hello students, welcome to Kwickprep. Your class register is a simple table. But in database language, the table, its rows and its columns all have special names. Today we will learn those names, count degree and cardinality, and compare three ways of organising a database.
First, a new term. A data model is a plan that decides how data is organised and linked inside a database. The relational model keeps all data in tables made of rows and columns. Two tables are linked when they share a common column, like a roll number. This model was proposed by Edgar Codd in nineteen seventy, and My S Q L, Oracle and most databases today follow it.
Here is a small table called Student. Riya has roll number one and studies in ten A. Aman has roll number two and studies in ten B. Neha has roll number three and studies in ten A. Kabir has roll number four and studies in ten C. The top line, with Roll No, Name and Class, is the heading.
Now let us label the parts of the table. The whole table is called a relation, so Student is a relation. One row is called a tuple, so the row two, Aman, ten B is one tuple. One column is called an attribute, so Name is an attribute. Remember, a tuple is one complete record, and an attribute is one property of that record.
Next comes domain. The domain of an attribute is the set of all values that the attribute is allowed to hold. Every value in a column must come from its domain. If a value falls outside the domain, it is invalid data, and a good database refuses it.
Let us write the domain of each attribute in Student. Roll No takes whole numbers from one to sixty, so minus five or seven point five is invalid. Name takes text made of letters, so the number one two three four five makes no sense. Class takes only the sections that exist, ten A, ten B and ten C, so ten Z is invalid. Notice that domain is about values, not about how many rows there are.
Two counting words come up in almost every exam. Degree is the number of attributes, which means the number of columns. Cardinality is the number of tuples, which means the number of data rows. Be careful, the heading row is not a tuple, so never count it.
Let us count together, one by one. Count the columns: Roll No is one, Name is two, Class is three. So the degree of Student is three. Now count the rows: Riya is one, Aman is two, Neha is three, Kabir is four. So the cardinality of Student is four.
Pause and predict before the answer appears. What changes if a new student joins, and what changes if we add a City column? When Meera joins, one tuple is added, so cardinality goes from four to five. When we add a City column, one attribute is added, so degree goes from three to four. Adding rows changes only cardinality, and adding columns changes only degree.
A relation follows a few simple rules. No two tuples can be exactly the same. The order of the rows does not matter, so sorting by name gives the same relation. Every attribute in a table has a different name. And each cell holds just one value, not a list of values.
Some courses also compare three data models. The hierarchical model arranges data as a tree, like a school with classes, and students inside each class. The network model arranges data as a web of links, like trains and stations, where one station serves many trains. The relational model, which we studied today, keeps data in tables.
Here is the key difference between them. In the hierarchical model, each child record has only one parent, so one student sits under one class. In the network model, a record can have many parents, so one station can link to many trains. In the relational model, there are no fixed links, and tables connect through a common column. That flexibility makes the relational model the easiest and the most widely used today.
Let us revise what we learned today. A relation is a table, a tuple is a row, and an attribute is a column. The domain of an attribute is its set of allowed values. Degree counts the columns, and cardinality counts the data rows. Hierarchical models are trees, network models are webs, and relational models are tables. Draw any table from your notebook and find its degree and cardinality.
Courses that teach this
| Course | Unit |
|---|---|
| CBSE Class 10 Information Technology (402) | Database Management System using LibreOffice Base |
| CBSE Class 12 Computer Science (083) | Database Management |
| CBSE Class 11 Informatics Practices (065) | Database concepts and the Structured Query Language |
| CBSE Class 11 Information Technology (802) | Part B, Unit 4: RDBMS |
| CBSE Class 12 Information Technology (802) | Database Concepts - RDBMS Tool |
Voice-over in this lesson is AI-generated. The script is written and checked by Kajal Ma'am. Boards can revise a syllabus mid-year, so confirm anything you plan around against the official board circular. Keep your passwords, OTPs and ID numbers to yourself — we never ask for them. To reach Kajal Ma'am, use the WhatsApp button; sharing your number there is how we call you back.
Free to watch, no sign-up. Live classes with Kajal Ma'am are the paid course; these lessons stay free either way.

