Data engineering guides written for clarity
Every concept starts with plain English analogies, before and after sample tables, and annotated SQL examples, linking straight into an interactive lab.
GROUP BY vs. Window Functions (ROW_NUMBER, RANK, LAG) Made Simple
A beginner-to-practitioner guide explaining when SQL collapses rows with GROUP BY versus when Window Functions (OVER PARTITION BY, ROW_NUMBER, RANK, LAG) keep every row intact with side-by-side sample tables and real examples.
How NULL Values Break Math & Comparisons (and How COALESCE Fixes It)
Learn why NULL represents missing/unknown data (not zero or empty string), why = NULL fails silently, how NULL affects AVG and NOT IN, and how COALESCE and NULLIF protect production pipelines.
SQL JOINs Visualized & Avoiding the Fan-Out Trap
A visual, row-by-row guide to INNER, LEFT, FULL OUTER JOINs and how joining parent and child tables at different grains causes silent revenue duplication (the Fan-Out Trap).
Primary Keys vs. Foreign Keys Explained Simply
Understand how Primary Keys uniquely identify every row, how Foreign Keys link tables safely, when to use Surrogate Keys vs. Natural Keys, and how keys prevent orphan records.
Data Warehouse vs. Data Lake vs. Lakehouse Architecture
Clear breakdown comparing Data Warehouses, Data Lakes, and modern Delta Lakehouses, plus ETL vs. ELT pipelines and the Bronze-Silver-Gold Medallion architecture.
OLTP vs. OLAP: Parquet & Delta Lake Columnar Mechanics
Discover why PostgreSQL stores rows together while Parquet/Delta stores columns together—and how column pruning, dictionary encoding, and min/max statistics make analytics 50x faster.
The Ralph Kimball Dimensional Architecture: Facts, Dimensions & Grain
Master Ralph Kimball's Star Schema methodology: choosing Fact grain, separating Facts (events/numbers) from Dimensions (who/what/where/when), Conformed Dimensions, and the 3 types of Fact tables.
Slowly Changing Dimensions (SCD Types 0 through 7) in Delta Lake
A complete beginner-to-architect guide to Slowly Changing Dimensions (SCD Types 0 through 7) with real timeline tables, Delta Lake MERGE SQL patterns, and how to report historical facts honestly.
Databricks Liquid Clustering vs. Hive Directory Partitioning
Stop hurting Lakehouse performance with over-partitioning! Understand the Small File Problem, legacy Z-Ordering, and why Delta Lake Liquid Clustering (CLUSTER BY) simplifies petabyte-scale data layout.
The Grain as a Contract: Idempotency & Financial Balance Snapshots
Why defining 'what one row represents' (Grain) is the #1 rule in analytics—how grain drift causes duplicate KPI inflation, why SELECT DISTINCT hides bugs, and how to prove grain in SQL.
Bitol Open Data Contract Standard (ODCS v3.0.2) in Practice
Learn how Open Data Contracts (Bitol ODCS v3.0.2 YAML) turn brittle data pipelines into versioned, CI/CD-tested software agreements between backend producers and analytics consumers.
BCBS 239 & Regulatory Traceability: Auditable Source-to-Target (S2T)
Understand Basel Committee BCBS 239 data traceability principles in plain English—building auditable Source-to-Target (S2T) documentation, column lineage, and ingestion metadata columns.
ISO 8000 Data Quality Engineering: Assertions, Nulls & Drift
Practical beginner guide to ISO 8000-61 Data Quality Engineering—implementing Completeness, Syntactic Accuracy, Semantic Accuracy, Consistency, Uniqueness, and Timeliness checks in SQL and Delta pipelines.
Distributed Compute Mechanics: Spark Memory Overhead, Cores & Shuffles
Learn how Spark splits work across Drivers and Executors, how to size CPU cores and executor memory + 10% overhead without OOM crashes, and how to tune shuffles cleanly.
Two-Fact Dimensional Modeling: Inventory Listings vs. Transactional Sales
Master two-sided marketplace modeling (TICKIT, StubHub, Airbnb): separating Listing inventory supply from Sales settlements cleanly so you avoid Chasm Trap duplication.
Role-Playing Dimensions & Bridge Tables in Lakehouse Architecture
Learn what a Role-Playing Dimension is in plain English—connecting one dim_user or dim_date table twice (Buyer vs Seller, Order Date vs Ship Date) using clean SQL aliases without attribute collisions.
SCD Type 2, Junk and Bridge Dimensions in Practice
Solve two tricky modeling puzzles cleanly: grouping scattered boolean flags into Junk Dimensions, and modeling many-to-many relationships (e.g., user hobbies or multiple promo tags) with Bridge Tables + allocation weights.
Inventory Aging, Sell-Through & Marketplace Funnel Analytics
Build reliable marketplace funnel KPIs (Sell-Through Rate, Inventory Aging Buckets, Unsold Deadstock) cleanly in SQL without dropping zero-sale listings or causing divide-by-zero errors.
Migrating Redshift TICKIT to a Governed Delta Lakehouse
Translating classic Amazon Redshift physical tuning concepts (DISTKEY, SORTKEY, ENCODE, VACUUM) into modern Delta Lake & Unity Catalog Lakehouse equivalents—plus enabling Change Data Feed (CDF).
Marketplace Social Graph & Fraud Detection in Relational SQL
You don't always need Neo4j for social graphs & fraud rings! Learn how to traverse multi-hop friendships, eliminate AB/BA mirrored duplicates with LEAST/GREATEST, and flag shared-account fraud using pure SQL.