Skip to content
Module 1: Introduction to Databases and SQL
- Understanding Databases
- What is a Database?
- Types of Databases (Relational vs. Non-Relational)
- Introduction to RDBMS (Relational Database Management Systems)
- SQL Basics
- What is SQL?
- Types of SQL Commands: DDL, DML, DQL, DCL, TCL
- Installing and Setting Up SQL Tools (MySQL, SQL Server, PostgreSQL, etc.)
Module 2: Data Definition Language (DDL)
- Creating Database Objects
CREATE DATABASE
CREATE TABLE
with Constraints (Primary Key, Foreign Key, Unique, Not Null)
- Modifying Database Structure
ALTER TABLE
(Add/Modify/Drop Columns)
- Adding and Removing Constraints
- Deleting Database Objects
Module 3: Data Manipulation Language (DML)
- Inserting Data
INSERT INTO
with Single and Multiple Rows
- Updating Data
- Deleting Data
Module 4: Data Query Language (DQL)
- Retrieving Data
SELECT
Basics
- Filtering with
WHERE
Clause
- Sorting with
ORDER BY
- Limiting Results with
LIMIT
/TOP
- Aggregate Functions
COUNT
, SUM
, AVG
, MAX
, MIN
- Grouping Data with
GROUP BY
and HAVING
- Joining Tables
- Inner Join, Left Join, Right Join, Full Join
- Self Join and Cross Join
Module 5: Advanced Querying Techniques
- Subqueries
- Single-Row and Multi-Row Subqueries
- Correlated Subqueries
- Set Operations
UNION
, UNION ALL
, INTERSECT
, EXCEPT
- Common Table Expressions (CTEs)
- Window Functions
- Ranking (
ROW_NUMBER
, RANK
, DENSE_RANK
)
- Aggregate Functions Over a Partition
- Sliding Window Calculations (
LEAD
, LAG
)
Module 6: Transaction Control
- Understanding Transactions
- ACID Properties of Transactions
- Transaction Control Commands
COMMIT
, ROLLBACK
, SAVEPOINT
Module 7: Data Control Language (DCL)
- Granting Permissions
GRANT
Command
- Role-Based Permissions
- Revoking Permissions
Module 8: Advanced Database Concepts
- Indexes
- Clustered vs. Non-Clustered Indexes
- Creating and Managing Indexes
- Views
- Creating, Altering, and Dropping Views
- Materialized Views
- Stored Procedures and Functions
- Writing Stored Procedures with Parameters
- Writing User-Defined Functions
- Triggers
- Creating and Managing Triggers
Module 9: Performance Tuning and Optimization
- Query Optimization
- Understanding Execution Plans
- Using Indexes Effectively
- Avoiding Common Performance Bottlenecks
- Database Maintenance
- Backups and Restore
- Archiving and Partitioning Large Tables