Free tutorials & notes in Hindi & English · Clean code examples 🧰 Free PDF & Image Tools →
MySQL + SQL · Lesson 14

RDBMS Concepts Explained

In this lesson: Core RDBMS concepts — relation, tuple, attribute, domain, keys and integrity — explained with one example table.

What is an RDBMS

An RDBMS (Relational Database Management System) is a DBMS that stores data in tables and lets those tables relate to each other using keys. This relational model is simple yet powerful, and it is why MySQL, PostgreSQL and Oracle are so widely used.

💡 RDBMS = a DBMS that stores data in related tables (rows and columns) linked by keys.

Tables, rows and columns

A table holds data about one kind of thing (like students). Its parts:

  • Column — a field such as name or marks; defines the data type.
  • Row — one record, e.g. one student, with a value for each column.
rollnamemarks
1Aman88
2Diya92

Here roll, name, marks are columns; each line is a row.

Keys in short

  • Primary key — uniquely identifies each row (like roll); never null, never repeated.
  • Foreign key — a column that links to another table's primary key.
  • Unique key — values must all differ, but it can allow one null.

Keys keep data correct and let tables connect. We cover them in depth in their own lessons.

How tables relate

The power of an RDBMS is linking tables. A foreign key in one table points to the primary key of another:

students(roll PK, name)
marks(id PK, roll FK -> students.roll, subject, score)

Here marks.roll links each mark to a student. This avoids repeating student details in every mark row.

DBMS vs RDBMS

PointDBMSRDBMS
Data stored asFiles or various formsTables (relations)
RelationshipsUsually noneYes, via keys
ConstraintsLimitedKeys, constraints enforced
ExamplesFile-based systemsMySQL, Oracle

A worked example

Imagine a shop. Instead of one giant messy table, an RDBMS splits data:

  • customers — id, name, city.
  • orders — id, customer_id (FK), amount.

Each order stores only a customer_id, not the full customer details. To see a customer's orders, the RDBMS joins the two tables on that key — no duplication, always consistent.

Common mistakes

  • Repeating data across rows. Split into related tables instead.
  • No primary key. Every table should have one to identify rows.
  • Confusing row and column. Columns are fields; rows are records.
  • Thinking DBMS and RDBMS are identical. RDBMS adds tables, keys and relationships.

Summary

  • An RDBMS stores data in tables and links them with keys.
  • Columns are fields; rows are records.
  • A primary key uniquely identifies each row.
  • A foreign key connects one table to another.
  • The relational model avoids duplication and keeps data consistent.

Next, learn the wider picture in the DBMS tutorial, or keys in DBMS keys explained.

Frequently Asked Questions

What is an RDBMS?
An RDBMS (Relational Database Management System) is a DBMS that stores data in tables (relations) made of rows and columns, and lets tables relate to each other using keys. MySQL, PostgreSQL and Oracle are RDBMS examples.
What is the difference between a DBMS and an RDBMS?
Every RDBMS is a DBMS, but an RDBMS specifically organises data into related tables and follows the relational model with keys and constraints. A plain DBMS may store data in other ways without relationships.
What are rows and columns in a table?
A column is a field (like name or age) and defines what kind of data is stored. A row (also called a record or tuple) is one complete entry, holding a value for each column.
What is a primary key?
A primary key is a column (or set of columns) that uniquely identifies each row in a table, like a roll number for students. No two rows can share the same primary key value, and it cannot be null.
How do tables relate in an RDBMS?
Tables relate using keys: a foreign key in one table points to the primary key of another. For example, an orders table can have a customer_id that links to the id in the customers table.
🔗

Share this topic with a friend

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

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

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

Next topicRelation, Tuple, Attribute, Domain, Degree and Cardinality Your progress: 14 / 151 (9%) · Lesson 15 / 151 Continue →

How was this lesson?

Your feedback helps us make the content better.

Write a review or suggestion (optional)

After approval, your name and city may appear publicly with your review. Please do not write your email or phone number.

▶ Video lesson

RDBMS Part 3 – Class XI Commerce IT

Video lesson on Relational Database Management Systems (RDBMS) for Class XI Commerce IT students, by CodingEasily.

RDBMS Part 3 – Class XI Commerce IT – video thumbnailRDBMS Part 3 – Class XI Commerce IT

▶ Subscribe on YouTube