Slide 1 – Overview
Start with a question to engage students:
"How many of you use Google, YouTube, or Instagram? Have you wondered where all the data is stored?"
Data: Collection of meaningful information.
Example: Text, numbers, images, videos.
Database: A systematic collection of data.
Example: Student records stored in files.
DBMS: Software to manage databases.
Example: MySQL, Microsoft Access, Oracle.
Slide 2 – Introduction to DBMS
DBMS = Database + Management System
It stores data so we can easily retrieve, update, and produce information.
Database = collection of data
Management System = programs to store and retrieve that data.
Example: Think of a library. The books are data, and the librarian is like a DBMS helping you find and organize books.
Slide 3 – Why Do We Need DBMS?
Large data storage needs a proper system.
DBMS optimizes:
Storage of data
Retrieval of data
Example: In an online shopping site, DBMS helps store all product details and quickly find them when a user searches.
Slide 4 – Levels of Abstraction
Three levels of how data is viewed/stored:
Internal Level (Physical) – How data is stored in memory (lowest level).
Conceptual Level (Logical) – What data is stored (middle level).
External Level (View) – How users see data (highest level).
Example:
Like in a restaurant:
Kitchen = Internal level
Menu = Conceptual level
Your plate = External level
Slide 5 – Relational Data Model
Data is stored in tables with rows and columns.
These tables are called relations.
Example: A student table with names, IDs, and marks.
Slide 6 – Terminology
Relation: Table
Tuple: Row
Attribute: Column
Degree: Number of attributes in a table
Cardinality: Number of rows in a table
Slide 7 – DDL (Data Definition Language)
Used to define and change database structure:
CREATE – Make a new table
ALTER – Change table structure
DROP – Delete table
TRUNCATE – Remove all rows from table
RENAME – Change table name
Slide 8 – DML (Data Manipulation Language)
Used to manage data:
SELECT – Read data
INSERT – Add data
UPDATE – Change data
DELETE – Remove data
Slide 9 – Keys in DBMS
Primary Key: Unique ID for each row (e.g., Roll Number)
Foreign Key: Connects one table to another using a key from the first table.
Composite Key: More than one column used as key.
Slide 10 – Functions of DBMS
Store and organize data
Control access
Protect data
Create, modify, and delete data
Maintain structures
Backup and recovery
Provide security
Slide 11 – Applications of DBMS
Banking: Accounts, transactions
Airlines: Reservations, schedules
Universities: Student details, grades
Sales: Customer and product info
Railways: Booking
Online Shopping
Slide 12 – Why DBMS Professionals Are in Demand
Companies generate large amounts of data
DBMS ensures data is available, consistent, and secure
Data is used for decision-making, so DBMS skills are valuable
Slide 13 – Job Roles in DBMS
Data Engineer – Works with data pipelines
SQL Developer –