HI!!! THANK YOU FOR REACHING TILL HERE.
PLEASE READ THE FOLLOWING
DOCUMENT THOROUGHLY!
Don’t forget to follow THELAZYLEARNING!!!
https://www.instagram.com/thelazylearning?utm_source=ig_web_button_share_sheet&igsh=
ZDNlZDc0MzIxNw==
This document explains the SQL in 5 important stages which will take you from the beginner
to pro with free resources and certifications.
G
IN
SQL (Structured Query Language) is the backbone for data extraction, cleaning, and
analysis. For a Data Analyst, mastering SQL is a must before diving deep into Python or BI
N
tools.
🔹 Level 1: Beginner (Foundations) R
A
LE
Concepts:
● What is SQL? Why do Analysts use it?
ZY
● Databases: Tables, Rows, Columns
LA
● Basic Queries: SELECT, FROM
● Filtering: WHERE clause, logical operators (=, >, <, AND, OR, NOT)
E
● Sorting: ORDER BY
TH
● Limiting data: LIMIT / TOP
Free Resources:
● SQLBolt – https://sqlbolt.com/
● W3Schools SQL Tutorial - https://www.w3schools.com/sql/
Free Certifications:
● https://www.datacamp.com/courses/introduction-to-sql
🔹 Level 2: Intermediate (Data Manipulation)
G
IN
Concepts:
● Aggregate Functions: COUNT, SUM, AVG, MIN, MAX
N
R
● Grouping Data: GROUP BY & HAVING
A
● Aliases (AS)
LE
● String Functions: CONCAT, SUBSTRING, UPPER, LOWER
ZY
● Date Functions: NOW, DATEPART, DATEDIFF
● Data Modification: INSERT, UPDATE, DELETE
LA
Free Resources:
E
● https://mode.com/sql-tutorial
TH
● https://www.youtube.com/watch?v=HXV3zeQKqGY
Free Certifications:
● https://www.coursera.org/learn/sql-for-data-science
🔹 Level 3: Analyst-Level Queries
Concepts:
● Joins:
○ INNER JOIN
○ LEFT / RIGHT JOIN
○ FULL OUTER JOIN
G
○ SELF JOIN
IN
● Subqueries (nested queries)
N
R
● Set Operations: UNION, INTERSECT, EXCEPT
A
● Case Statements: CASE WHEN ... THEN ... END
LE
● Window Functions (Intro): ROW_NUMBER, RANK, DENSE_RANK
ZY
Free Resources:
● https://www.w3schools.com/sql/sql_join.asp
LA
● https://mode.com/sql-tutorial/sql-window-functions
E
Free Certifications:
TH
● https://www.kaggle.com/learn/intro-to-sql
🔹 Level 4: Advanced Analytics with SQL
Concepts:
● Advanced Window Functions:
○ LAG, LEAD, NTILE
○ Moving Averages
● Common Table Expressions (CTEs) → WITH
● Views (Creating & Using)
● Stored Procedures (basic for analysts)
G
● Query Optimization (Indexes, Execution Plan basics)
IN
N
Free Resources:
R
● https://learnsql.com/blog/sql-window-functions/
A
LE
Free Certifications:
● https://mode.com/sql-tutorial
ZY
🔹 Level 5: Expert / Data Analyst Pro Level
LA
Concepts:
E
● Advanced Analytical Queries for Business Problems
TH
● Advanced Subqueries & Nested Window Functions
● Complex CTEs (Recursive CTEs)
● Performance Tuning (Indexing strategies, query optimization)
● SQL + BI Integration (connecting SQL to Power BI/Tableau/Excel)
● Real-world projects:
○ Sales Analysis
○ Customer Segmentation
○ Trend & Cohort Analysis
○ A/B Testing with SQL
G
Free Resources:
IN
● https://leetcode.com/problemset/database/
N
● https://www.stratascratch.com/
Free Certifications:
R
A
● https://learn.microsoft.com/en-us/training/modules/introduction-to-transact-sql/
LE
● https://www.coursera.org/professional-certificates/ibm-data-analyst
ZY
✅ Final Note
LA
👉 For Data Analysts, stop at Level 5 and parallelly start Python + BI tools.
👉 For a general SQL career (DBA / Backend / Data Engineer), go even deeper into
E
database administration, triggers, indexes, normalization, transactions after this
TH
roadmap.
Thank You for reaching out till here, Happy Learning 😁