𝐒𝐐𝐋 𝐋𝐞𝐚𝐫𝐧𝐢𝐧𝐠 𝐑𝐨𝐚𝐝𝐦𝐚𝐩🔥🔥🔥
|── Basics
| ├── What is SQL?
| ├── Database vs DBMS vs RDBMS
| ├── Databases & Tables
| ├── Rows vs Columns
| ├── Data Types (INT, VARCHAR, DATE, FLOAT, BOOLEAN)
| ├── Constraints (NOT NULL, UNIQUE, PRIMARY KEY, FOREIGN KEY, CHECK, DEFAULT)
| ├── Keys (Primary, Foreign, Candidate, Composite, Super Key)
| └── CRUD Operations (Create, Read, Update, Delete)
|
|── DDL (Data Definition Language)
| ├── CREATE DATABASE
| ├── CREATE TABLE
| ├── ALTER TABLE
| ├── DROP TABLE
| ├── TRUNCATE TABLE
| └── RENAME TABLE
|
|── DML (Data Manipulation Language)
| ├── INSERT INTO
| ├── UPDATE
| ├── DELETE
| └── Bulk Inserts
|
|── DQL (Data Query Language)
| ├── SELECT
| ├── Column Selection
| ├── Aliases (AS)
| └── Expressions & Calculations
|
|── Data Retrieval
| ├── SELECT, FROM, WHERE
| ├── DISTINCT
| ├── ORDER BY (ASC, DESC)
| ├── LIMIT / TOP / OFFSET-FETCH
| ├── BETWEEN
| ├── IN / NOT IN
| ├── LIKE (%, _)
| └── IS NULL / IS NOT NULL
|
|── Filtering & Conditions
| ├── AND, OR, NOT
| ├── Operator Precedence
| ├── Nested Conditions
| └── Short-circuit Evaluation
|
|── Joins
| ├── INNER JOIN
| ├── LEFT JOIN
| ├── RIGHT JOIN
| ├── FULL OUTER JOIN
| ├── CROSS JOIN
| ├── SELF JOIN
| ├── Join Conditions (ON vs WHERE)
| └── Handling NULLs in Joins
|
|── Grouping & Aggregation
| ├── GROUP BY
| ├── Aggregate Functions: COUNT(), SUM(), AVG(), MIN(), MAX()
| ├── HAVING
| ├── Conditional Aggregation (CASE WHEN)
| └── Grouping Rules & Errors
|
|── CASE Statements & Conditional Logic
| ├── CASE WHEN
| ├── Nested CASE
| ├── Conditional Columns
| └── Conditional Aggregations
|
|── NULL Handling
| ├── NULL Behavior in SQL
| ├── IS NULL, IS NOT NULL
| ├── COALESCE()
| ├── NULLIF()
| └── NULL in Aggregations
|
|── Subqueries & Nested Queries
| ├── Subquery in SELECT
| ├── Subquery in WHERE
| ├── Subquery in FROM
| ├── Correlated Subqueries
| ├── Scalar vs Multi-row Subqueries
| └── Performance Considerations
|
|── Set Operations
| ├── UNION
| ├── UNION ALL
| ├── INTERSECT
| └── EXCEPT / MINUS
|
|── Advanced SQL
| ├── EXISTS / NOT EXISTS
| ├── Derived Tables
| ├── Inline Views
| ├── Pivoting & Unpivoting
| └── Dynamic SQL (Basics)
|
|── Window Functions (Analytical SQL)
| ├── OVER() Clause
| ├── PARTITION BY
| ├── ORDER BY in Window
| ├── Ranking: ROW_NUMBER(), RANK(), DENSE_RANK()
| ├── Value Functions: LEAD(), LAG()
| ├── Aggregates as Window Functions
| └── Running Totals & Moving Averages
|
|── Common Table Expressions (CTEs)
| ├── WITH Clause
| ├── Multiple CTEs
| ├── Recursive CTEs
| └── CTE vs Subquery
|
|── Views
| ├── Creating Views
| ├── Updating Views
| ├── Materialized Views
| └── Use Cases
|
|── Indexes & Performance
| ├── What is Index
| ├── Clustered vs Non-Clustered Index
| ├── Composite Index
| ├── Indexing Strategies
| ├── Query Optimization
| ├── Execution Plan
| └── EXPLAIN / ANALYZE
|
|── Transactions & ACID
| ├── Transaction Basics
| ├── COMMIT, ROLLBACK, SAVEPOINT
| ├── ACID Properties
| └── Concurrency Issues
|
|── Locks & Isolation Levels
| ├── Lock Types
| ├── Isolation Levels
| ├── Dirty Read, Non-repeatable Read, Phantom Read
| └── Deadlocks
|
|── Database Design Concepts
| ├── ER Diagrams
| ├── Normalization (1NF, 2NF, 3NF, BCNF)
| ├── Denormalization
| ├── Relationships (1-1, 1-M, M-M)
| └── Schema Design Best Practices
|
|── Data Warehousing Concepts
| ├── OLTP vs OLAP
| ├── Fact & Dimension Tables
| ├── Star Schema
| ├── Snowflake Schema
| └── ETL Basics
|
|── SQL for Data Analysis
| ├── Business Metrics (Revenue, Retention, AOV)
| ├── Cohort Analysis
| ├── Funnel Analysis
| ├── Time Series Analysis
| └── Data Cleaning in SQL
|
|── SQL in Real Projects
| ├── E-commerce Analysis
| ├── Customer Behavior Analysis
| ├── Sales Dashboard Queries
| └── KPI Reporting
|
|── Tools & Platforms
| ├── MySQL
| ├── PostgreSQL
| ├── SQL Server
| ├── Oracle
| ├── SQLite
| ├── BigQuery
| ├── Snowflake
| └── Amazon Redshift
|
|── END
👉WhatsApp Channel:
https://whatsapp.com/channel/0029VaFZ2LbKGGGRCU0lnd46
👉Telegram Channel:
https://t.me/dataanalyticsbuddy
Till then keep learning and keep exploring 🙌 😊