Designed for beginners with no prior experience. Follow it weekly and hands-on.
Understand what SQL is, basic queries, and how to interact with databases.
- What is SQL? Why use it?
- Types of SQL: DDL, DML, DCL, TCL
- Relational Databases vs Non-relational
- SQL Syntax and Clauses
SELECT,FROM,WHERE- Logical operators:
AND,OR,NOT ORDER BY,LIMIT
Get comfortable manipulating and filtering data.
BETWEEN,IN,LIKE,IS NULL- Sorting using
ORDER BY - Aliases (
AS)
- Work on a sample employee table.
- Practice filtering using multiple conditions.
Learn to analyze data using aggregate functions.
COUNT(),SUM(),AVG(),MIN(),MAX()GROUP BY,HAVING
- Analyze sales by region or products.
Combine data from multiple tables.
- Types of Joins:
INNER JOINLEFT JOINRIGHT JOINFULL OUTER JOINSELF JOIN
- Cross Join and Cartesian product
- Work with
orders,customers, andproductstables. - Combine and filter based on business logic.
Learn to write complex nested queries.
- Subqueries in
SELECT,FROM,WHERE - Correlated vs Non-correlated Subqueries
- Set operators:
UNION,UNION ALLINTERSECT,EXCEPT
Understand how to create, modify, and delete tables.
CREATE TABLE,ALTER TABLE,DROP TABLE- Constraints:
PRIMARY KEY,FOREIGN KEYUNIQUE,NOT NULL,CHECK,DEFAULT
Master professional SQL for real-world scenarios.
- Window Functions:
ROW_NUMBER(),RANK(),DENSE_RANK()LEAD(),LAG()PARTITION BY,OVER()
- CTE (Common Table Expressions):
WITHclause- Recursive CTEs
- Advanced Subqueries and Joins
- Pivoting / Unpivoting
Learn about database optimization and control.
- Transactions:
BEGIN,COMMIT,ROLLBACK - ACID Properties
- Indexing and performance
- Views:
CREATE VIEW,UPDATE VIEW
Build your portfolio and test your SQL skills.
- Sales Dashboard Queries
- Employee Management Queries
- E-commerce Analysis
- SQL Case Studies (Kaggle datasets)
- 📘 Learn PostgreSQL or MySQL for real DB experience
- 🔄 Combine SQL with Python (Pandas + SQLAlchemy) or Power BI
- ✍️ Always comment your queries in real projects
- 📂 Maintain a GitHub repo for all practice queries
By the end, you’ll be able to:
✅ Write complex, optimized SQL queries
✅ Handle real-world business data problems
✅ Pass SQL interviews and certifications
✅ Work with BI tools or Data Engineering pipelines
- Microsoft: [DP-900 / PL-300]
- Google: [Data Analytics Cert]
- IBM Data Analyst Cert (Coursera)
