Skip to content

MuditKumarR/dataquest90

Repository files navigation

πŸ—„οΈ master-data-ai-sql

╔══════════════════════════════════════════════════════════════════════╗
β•‘                                                                      β•‘
β•‘        MASTER  DATA  &  AI  β€”  SQL  ENGINEERING  PROGRAM            β•‘
β•‘                                                                      β•‘
β•‘   Before Snowflake.  Before Data Engineering.  Before Analytics.    β•‘
β•‘        Before AI.        There is SQL.                              β•‘
β•‘                                                                      β•‘
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

PostgreSQL License: MIT Stars Missions Projects XP Points


🎯 This Is Not a Tutorial. This Is a Career Transformation.

Most SQL courses teach you syntax.

This program transforms you into a Data Professional.

You will join DataVerse Inc. β€” a fictional company with real business problems. The CEO, HR Director, Sales Director, Finance Manager, Marketing Manager, and Chief Data Officer will send you tasks. You will solve them using SQL.

By the time you finish, you will not just know SQL.

You will think like a Data Architect.


πŸ—ΊοΈ The Career Journey

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                    YOUR CAREER PROGRESSION                          β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  LEVEL   β”‚  ROLE                            β”‚  MISSIONS β”‚  XP      β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  Lv. 1   β”‚  Junior Data Analyst             β”‚  1 – 2    β”‚  0-500   β”‚
β”‚  Lv. 2   β”‚  Reporting Analyst               β”‚  3 – 4    β”‚  500-1.5Kβ”‚
β”‚  Lv. 3   β”‚  Analytics Engineer              β”‚  5 – 6    β”‚  1.5-3K  β”‚
β”‚  Lv. 4   β”‚  Data Engineer                   β”‚  7 – 8    β”‚  3-4.5K  β”‚
β”‚  Lv. 5   β”‚  Senior Data Engineer            β”‚  9        β”‚  4.5-6K  β”‚
β”‚  Lv. 6   β”‚  Snowflake Developer             β”‚  10 – 11  β”‚  6-7.5K  β”‚
β”‚  Lv. 7   β”‚  Data Architect                  β”‚  12 – 13  β”‚  7.5-9K  β”‚
β”‚  Lv. 8   β”‚  AI & Agentic Systems Builder    β”‚  14       β”‚  9-10K   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ“¦ What's Inside

Folder Contents
πŸ“‚ SETUP/ PostgreSQL, pgAdmin, DBeaver, Docker setup guides
πŸ“‚ DATASETS/ 12+ realistic business datasets with DDL + data
πŸ“‚ MISSIONS/ 14 story-driven SQL missions with exercises
πŸ“‚ PROJECTS/ 8 capstone projects (HR, Sales, Finance, AI)
πŸ“‚ CHEATSHEETS/ 9 professional PDF-ready cheat sheets
πŸ“‚ INTERVIEW_PREP/ 300 SQL interview Q&A with explanations
πŸ“‚ QUIZZES/ Knowledge check quizzes per mission
πŸ“‚ SOLUTIONS/ Fully worked SQL solutions
πŸ“‚ DIAGRAMS/ Architecture & concept visual diagrams
πŸ“‚ BLOGS/ 20 technical blog posts (publish-ready)
πŸ“‚ LINKEDIN_POSTS/ 20 engagement-optimized LinkedIn posts
πŸ“‚ NEWSLETTER_CONTENT/ Newsletter templates

πŸš€ Start Here

New to SQL? β†’ START-HERE.md

Want a plan?

Need to install PostgreSQL? β†’ SETUP/


🏒 The DataVerse Inc. Story

You just received an email:

"Welcome to DataVerse Inc. Your title is Junior Data Analyst.
The CEO has requested your first report by end of day.
Your manager says: 'Don't worry β€” just open the database and start querying.'
Good luck."

Every mission is a real business request.
Every concept is justified by a business need.
Every skill you learn makes you more valuable.


🧩 The 14 Missions

# Mission Business Request SQL Concepts XP
01 CEO Wants Workforce Insights Board meeting tomorrow SELECT, FROM, LIMIT, DISTINCT 200
02 HR Director Needs Employee Data Headcount anomalies found WHERE, AND, OR, IN, BETWEEN, LIKE, IS NULL 400
03 Finance Team Needs Reports Budget review incoming COUNT, SUM, AVG, MIN, MAX, GROUP BY, HAVING 600
04 Sales Dashboard Emergency Revenue numbers don't add up JOINs (INNER, LEFT, RIGHT, FULL, CROSS, SELF) 800
05 Marketing Customer Intelligence Campaign targeting needed Subqueries, EXISTS, Correlated Subqueries 700
06 Data Team Needs Reusable Logic Engineering velocity at risk CTEs, Recursive CTEs, Materialized Views 700
07 Analytics Rankings + Trends Exec dashboard required Window Functions: ROW_NUMBER, RANK, LAG, LEAD 800
08 Enterprise Reporting Architecture Multi-system consolidation UNION, INTERSECT, EXCEPT 500
09 Database Performance Crisis Queries timing out in prod Indexes, Execution Plans, Partitioning, EXPLAIN 1000
10 Data Warehouse Design BI tool migration project Star Schema, SCD1, SCD2, Fact/Dim Tables 1200
11 Snowflake Migration Project Cloud migration approved Snowflake SQL, Streams, Tasks, Time Travel 1000
12 Data Engineering Pipelines ETL modernization required ETL, ELT, CDC, Data Quality, Airflow concepts 900
13 Analytics Use Cases Executive KPI dashboard CLV, Attrition, Funnel, Retention, Revenue 800
14 SQL for AI Systems AI product launch RAG, Vectors, Text-to-SQL, Agentic AI 1100

Total Available XP: 10,500


πŸ—οΈ System Architecture

graph TB
    A[You - The Learner] --> B[DataVerse Inc.]
    B --> C[Business Requests]
    C --> D[SQL Missions]
    D --> E{Level Up?}
    E -->|Yes| F[New Role + Responsibilities]
    E -->|No| G[More Practice]
    F --> H[Capstone Projects]
    H --> I[Portfolio Ready]
    I --> J[Job Ready]
    J --> K[Data Architect / AI Engineer]
Loading

πŸ“Š Skill Progression Map

BEGINNER         INTERMEDIATE       ADVANCED          EXPERT
────────         ────────────       ────────          ──────
SELECT           GROUP BY           Window Functions  AI + SQL
FROM             HAVING             CTEs              RAG Systems
WHERE            JOINs              Recursive CTEs    Vector Search
LIMIT            Subqueries         Data Warehouse    Agentic AI
DISTINCT         EXISTS             Partitioning      Text-to-SQL
ORDER BY         UNION              Indexes           ML Pipelines
Filtering        Set Operations     Snowflake         Architecture
Aggregations     Correlated SQ      SCD Types         Performance

πŸŽ“ Capstone Projects

# Project Stack Outcome
1 HR Analytics Platform PostgreSQL Full workforce analytics dashboard
2 Sales Intelligence Platform PostgreSQL Revenue + pipeline reporting
3 Finance Analytics PostgreSQL P&L, budget vs actual
4 Customer 360 PostgreSQL Unified customer view
5 Data Warehouse Design PostgreSQL Star schema implementation
6 Postgres β†’ Snowflake Migration PG + Snowflake Cloud DW migration
7 Text-to-SQL AI Assistant PG + Python NLP to SQL engine
8 Agentic AI Data Analyst PG + LangChain Autonomous SQL agent

πŸ“ Architecture Diagrams

graph LR
    subgraph "SQL Execution Order"
        A[FROM] --> B[WHERE]
        B --> C[GROUP BY]
        C --> D[HAVING]
        D --> E[SELECT]
        E --> F[DISTINCT]
        F --> G[ORDER BY]
        G --> H[LIMIT]
    end
Loading

πŸ† Community & Contribution

  • ⭐ Star this repo if it helped your career
  • 🍴 Fork and extend with your own missions
  • πŸ› Open issues for errors or improvements
  • πŸ’¬ Share your progress on LinkedIn with #masterDataAISQL
  • πŸ“§ Newsletter: Subscribe for weekly SQL tips

πŸ“œ License

MIT License β€” Free to use, fork, extend, and share.


Built for the data community. Powered by PostgreSQL. Inspired by real careers.

"The best time to master SQL was 10 years ago. The second best time is today."

About

Journey from zero to hero, from sql to AI in 90 days.

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors