Database Management Systems – B.
Tech Quick
Revision Notes
Table of Contents
1. Introduction to DBMS
2. Database Models
3. Keys in DBMS
4. Normalization
5. SQL Basics
6. Sample Questions for Practice
1. Introduction to DBMS
A Database Management System (DBMS) is software for storing, retrieving, and managing data
efficiently.
It allows multiple users to interact with databases securely and concurrently.
2. Database Models
Hierarchical Model: Data is organized in a tree-like structure.
Relational Model: Data is stored in tables with rows and columns.
Object-Oriented Model: Data is stored as objects, similar to programming concepts.
3. Keys in DBMS
Primary Key: Uniquely identifies each record in a table.
Foreign Key: Links two tables together.
Candidate Key: Potential primary keys.
4. Normalization
Process of organizing data to minimize redundancy.
Normal Forms: 1NF, 2NF, 3NF, and BCNF.
5. SQL Basics
DDL: CREATE, ALTER, DROP.
DML: SELECT, INSERT, UPDATE, DELETE.
DCL: GRANT, REVOKE.
6. Sample Questions for Practice
Q1: Differentiate between Primary Key and Foreign Key.
Q2: Explain 3NF with an example.
Q3: Write an SQL query to fetch all employees earning above 50,000.