SQL Database Ingestion Map of Content (MOC)
Welcome to the SQL Database Ingestion & Relational Analytics hub. This curriculum track bridges relational database engineering and modern Excel analytics, training you to discover, query, ingest, model, visualize, and automate data pipelines sourcing from Microsoft SQL Server.
TEXT
Microsoft SQL Server Sample Database
β
Database Schema Discovery
β
Tables / Relationships / Keys
β
SQL Exploration
β
Data Profiling
β
SQL Transformation
β
Power Query / SQL Ingestion
β
Data Cleaning
β
Analytical Data Model
β
Excel / Power Pivot
β
KPI Layer
β
Dashboard
β
Automation
β
Business Insights
β
Portfolio Case Study
1. Core Architectural & Conceptual Notes
- SQL Server Architecture β Relational engine, storage engine, instances, databases, and system catalogs.
- Relational Database Concepts β Tables, records, columns, data types, constraints, schemas, and ACID properties.
- OLTP vs OLAP β Normalized transactional processing vs dimensional analytical modeling.
- Primary and Foreign Keys β Entity integrity, referential integrity, surrogate vs natural keys.
- Database Grain β Defining the atomic measurement unit of facts and operational transactions.
- SQL Joins β Inner, Left, Right, Full, and Self joins, and avoiding Cartesian explosive products.
- Many-to-Many Relationships β Junction/bridge tables, composite keys, and preventing double-counting.
- SQL Views β Decoupling physical storage from presentation, security, and query reusability.
- CTEs β Common Table Expressions, query modularity, readability, and recursion.
- Window Functions β
ROW_NUMBER,RANK,DENSE_RANK,LAG,LEAD, and running aggregates. - Query Folding β Translating Power Query M transformations into native T-SQL server-side pushdown.
- SQL vs Power Query β Responsibility demarcation matrix: what belongs in SQL vs Power Query.
- SQL to Excel Architecture β Direct tables, raw SQL statements, views, and semantic models.
- Production Analytics Pipeline β Decoupled, parameterized, automated, and governed data pipelines.
- SQL Project Skill Matrix β Competency map across the 5 curriculum projects.
2. Interactive Discovery Labs (11_Database_Labs/)
- Lab 01: Database Discovery β Querying
INFORMATION_SCHEMAand system catalogs. - Lab 02: Schema Exploration β Column definitions, nullability, and primary constraints.
- Lab 03: Relationship Analysis β Programmatic foreign key mapping and bridge table detection.
- Lab 04: Data Profiling β Volume metrics, null ratios, boundary checks, and orphan audits.
- Lab 05: SQL Querying Fundamentals β Aggregations, joins, filtering, and group-level summaries.
- Lab 06: Analytical SQL β Windowing functions, ranking, period-over-period lags, and CTEs.
- Lab 07: SQL to Excel Ingestion β Connector setup, native M recipes, and query folding verification.
- Lab 08: Model Validation & Reconciliation β 4-tier financial reconciliation between SQL, Power Query, and Excel.
3. Progressive Project Ladder (12_SQL_Projects/)
- SQL Project Roadmap β Competency ladder and difficulty matrix.
- Project 01: Northwind SQL to Excel Sales Analytics (Foundation)
- Project 02: Pubs Publishing Sales Intelligence (Intermediate β Many-to-Many Bridge)
- Project 03: AdventureWorks Enterprise Sales Analytics (Advanced β Multi-Schema OLTP)
- Project 04: AdventureWorksDW Dimensional Analytics (Advanced β Kimball Star Schema & DAX)
- Project 05: Production SQL to Excel Analytics Pipeline (Expert β End-to-End Orchestration & VBA)
4. Source Guides & Reference Documentation
- Microsoft SQL Server Samples β Official Microsoft source hierarchy and sample database governance.
- SQL Server Installation References β Step-by-step T-SQL restoration and setup scripts.
- SQL Server Learning Environment β Full developer environment architecture.
- Northwind Documentation β 13 tables, physical schema, grain, and extraction views.
- pubs Documentation β 11 tables, royalty allocation, bridge tables, and queries.
- AdventureWorks Documentation β 71 tables across 6 schemas, B2B wholesale vs B2C retail.
- AdventureWorksDW Documentation β Fact and dimension separation, surrogate keys, star schema.
5. AI-Assisted SQL Analytics & Interview Prep
- AI-Assisted SQL Exploration β Responsible human-in-the-loop workflows for AI query generation.
- AI SQL Prompt Library β Battle-tested prompts for schema discovery, query optimization, and DAX modeling.
- AI SQL Verification β Validation framework preventing AI hallucinations and query logic flaws.
- SQL Database Interview Questions β Comprehensive technical questions spanning SQL, ETL, modeling, and project defense.