๐ก What is RDBMS?
RDBMS stands for Relational Database Management System.
It is a software system used to create, manage, and interact with relational databases โ where data is stored in tables (relations) with rows and columns.
๐ Key Concepts of RDBMS:
Term | Meaning |
|---|---|
๐ Relation | A table in the database |
๐ Attribute | A column (field) in the table |
๐ Tuple | A row (record) in the table |
๐ Primary Key | Uniquely identifies each row in a table |
๐ Foreign Key | Links two tables (used to represent relationships between tables) |
โ Examples of Popular RDBMS Software:
๐ฌ MySQL
๐ PostgreSQL
๐งฑ Oracle Database
๐ผ Microsoft SQL Server
๐ป SQLite
๐ Why Use RDBMS?
โ Data Integrity using keys and constraints
๐ Security with user roles and permissions
๐ Data Consistency through transactions
๐ Efficient Querying using SQL (Structured Query Language)
๐งฉ Data Relationships maintained through foreign keys
๐ก Real-Life Analogy:
Imagine a school register:
Each page = a table (relation)
Each row = a student's details (tuple)
Each column = specific info like name, age, class (attributes)
The Student ID = primary key
A reference to teacher ID = foreign key