Data from Scratch¶
The plain-English path from "what is a table?" to working as a data engineer, analytics engineer, or database administrator. Eight phases, each ending with something you can actually do.
No exam required. Certifications are named where they help, but every phase stands on its own.
How to use this path¶
Work through the phases in order. Each one lists:
- Learn - the concept pages on this site to read first
- Do - a small exercise or build that proves you understood it
- After this phase - what you can now do that you could not before
- Certify (optional) - exams that test the same ground
Most people spend a few weeks per phase alongside a job. Phases 1 to 4 are shared by every data role. Phase 7 is where the three roles split.
flowchart LR
P0[0. Tech basics] --> P1[1. SQL and tables]
P1 --> P2[2. Modeling for analytics]
P2 --> P3[3. Pipelines]
P3 --> P4[4. Streaming]
P4 --> P5[5. Quality and governance]
P5 --> P6[6. Data in the cloud]
P6 --> P7{7. Pick a lane}
P7 --> DE[Data engineer]
P7 --> AE[Analytics engineer]
P7 --> DBA[Database administrator]
DE --> P8[8. Get hired]
AE --> P8
DBA --> P8 The diagram shows the eight phases in order, with the path branching into three roles at phase 7 and joining again for interview prep.
Phase 0 - Tech basics (skip if you already use a terminal)¶
Data work happens in terminals, notebooks and cloud consoles. If those are new, start on the sister site.
- Learn: Day One on Cloud Zero to Hero - terminal, git, HTTP, servers, JSON and YAML, assuming nothing.
- Do: install Python, open a terminal, and run
python3 --version. Work through the first few chapters of the official Python tutorial. - After this phase: you can run a script, read an error message, and save your work in git.
Phase 1 - SQL and relational thinking¶
SQL is the one skill every data role uses every day. Learn it before any tool.
- Learn: SQL vs NoSQL for the big picture, then SQL joins explained and Window functions explained for the two skills every SQL interview tests.
- Then, how the database does it: Indexes explained, Transactions and ACID, and OLTP vs OLAP for why analytics gets its own database. The Databases topic index shows where each engine fits.
- Start here if SQL is new: the six Day One data pages - your first query, spreadsheets to SQL, a local DuckDB or PostgreSQL, pandas, notebooks and file formats - take about two hours and use one tiny file throughout.
- Do: load a public CSV into SQLite or PostgreSQL. Write queries with
SELECT,WHERE,GROUP BY,JOIN, and one window function (ROW_NUMBER()orSUM() OVER). - After this phase: you can answer a business question ("which product sold best last month, by region?") straight from raw tables.
- Certify (optional): Azure Data Fundamentals (DP-900) covers relational, non-relational and analytics basics at an entry level.
Phase 2 - Modeling data for analytics¶
Operational databases are shaped for writing one order at a time. Analytics wants the opposite: reading millions of rows at once. Modeling is how you bridge the two.
- Learn: Warehouses, lakes, and lakehouses, then Data modeling for analytics (star schemas, facts and dimensions, grain) and Slowly changing dimensions (keeping history honest).
- Do: the Design a star schema project (2-3 hours): from business questions to a bus matrix, declared grains, a Type 2 dimension, and SQL that proves the design. Then redesign your phase 1 tables the same way.
- After this phase: you can explain why a warehouse is laid out differently from an app database, and design a star schema for a simple business.
Phase 3 - Pipelines: moving and transforming data¶
Data rarely starts where it is needed. A pipeline extracts it, cleans it, and lands it somewhere useful, on a schedule, without a human pressing a button.
- Learn: ETL vs ELT, File formats and partitioning (why Parquet beats CSV at scale), Data pipelines and orchestration, and Change data capture (copying only what changed, deletes included).
- Do: the Build a data pipeline lab. It takes four to five hours and covers ingest, transform and load with scheduled runs.
- Read alongside: the Data pipeline and ETL pattern for how the same shape looks on AWS, Azure and GCP.
- After this phase: you can build a scheduled job that pulls data from a source, cleans it, and loads it into a warehouse, and rerun it safely when it fails halfway.
Phase 4 - Streaming and event data¶
Batch pipelines run every hour or every night. Some data cannot wait that long: payments, sensor readings, clickstreams.
- Learn: Batch vs streaming, Queues vs streams, Stream processing: windows and watermarks, and Eventual consistency.
- Compare: Messaging and queue services across clouds.
- Do: the Build a streaming pipeline project (4-6 hours): Kafka into a Parquet lake, event-time windows with a watermark, and a batch reconciliation that shows what the stream missed.
- Read alongside: the Streaming analytics pattern for Lambda, Kappa and the lakehouse hybrid.
- After this phase: you can tell when a problem needs a stream and when a nightly batch is the cheaper, simpler answer.
- Certify (optional): Confluent Certified Developer for Kafka application work, Confluent Certified Administrator for running clusters.
Phase 5 - Quality, lineage and governance¶
A pipeline that runs on time with wrong numbers is worse than one that fails loudly. This phase is what separates hobby projects from production data.
- Learn: Data quality and lineage, Data governance and catalogs, and Data contracts.
- Read: the Data mesh pattern, which treats each team's data as a product with an owner and a contract.
- Do: add three checks to your phase 3 pipeline (row count not zero, no null primary keys, totals match the source) and make the pipeline stop when one fails.
- After this phase: you can say where a number on a dashboard came from, and catch bad data before a stakeholder does.
- Related: access control and data privacy are covered on Security Zero to Hero.
Phase 6 - Data in the cloud¶
Most data platforms now run on a cloud provider or a cloud data platform. You do not need to master a whole cloud, but you need its storage, identity and compute basics.
- Learn the cloud basics first: Cloud from Scratch on Cloud Zero to Hero (compute, storage, networking, identity).
- Learn the data platforms: the Lakehouse architecture pattern, then Database services across clouds.
- Do: rebuild your phase 3 pipeline on one cloud: object storage for raw files, a managed warehouse or lakehouse for the modeled tables, and the cloud's scheduler or a managed orchestrator.
- After this phase: you can design a small data platform on one cloud and explain what each piece costs you to run.
- Certify (optional): pick the cloud you use at work - AWS Data Engineer Associate (DEA-C01), Fabric Data Engineer (DP-700), or Google Cloud Professional Data Engineer.
Phase 7 - Pick a lane¶
The first six phases are shared. Here the three roles diverge. Pick the one closest to the work you enjoyed most.
Data engineer¶
You build and run the pipelines and platforms everyone else depends on.
- Go deeper on: Spark and lakehouse engines, orchestration, streaming at scale, CDC, cost control. If your platform also serves AI features, read Vector databases for data engineers.
- Certs, in a sensible order: a cloud data engineer cert from phase 6, then Databricks Data Engineer Associate and Professional, or SnowPro Core and SnowPro Advanced Data Engineer.
- Full roadmap: Data engineer certification roadmap and the data engineering topic index.
Analytics engineer¶
You turn raw tables into trusted models and the dashboards the business reads. More SQL and modeling, less infrastructure.
- Go deeper on: dimensional modeling (phase 2), transformation-as-code with tests (Analytics engineering and dbt), semantic layers, BI tools.
- Certs: Power BI Data Analyst (PL-300), Fabric Analytics Engineer (DP-600), SnowPro Core.
- Build: the Build a dbt project lab (4-5 hours), then point it at your phase 6 warehouse and publish one dashboard that a non-technical friend can read without help.
Database administrator (DBA)¶
You keep databases fast, available, backed up and secure. Fewer pipelines, more depth in one or two engines.
- Go deeper on: indexing and query plans (Indexes explained), isolation and locking (Transactions and ACID), backup and restore, replication and failover (Replication and sharding), migrations between engines.
- Certs: Azure Database Administrator (DP-300), Google Cloud Professional Cloud Database Engineer, MongoDB Associate DBA, Cosmos DB (DP-420) for globally distributed NoSQL.
- Read: the Database migration guide, Slow SQL query diagnosis and the Database specialist roadmap.
- Learn from real incidents: the GitLab 2017 and Atlassian 2022 postmortems, on backups that failed and restores that did not scale.
Phase 8 - Get hired¶
- Read: Data engineer interview prep - pipeline design, data modeling and SQL questions.
- Practise: the SQL interview guide (worked problems) and data modeling and pipeline design interviews (worked designs).
- Role-specific: the analytics engineer interview guide and the DBA interview guide, each with worked answers and common traps.
- Quick refresher: Data engineer in 1 hour, a curated reading order through this site.
- Show your work: put the pipeline from phases 3 to 6 on GitHub with a README that explains the design, the checks from phase 5, and what you would change at ten times the data.
- Practice: every cert above has a practice question bank with explained answers.
Where this path stops¶
- Machine learning and AI are on the sister site, AI Zero to Hero. Start with its zero to hero path. The pipelines and models you built here are what ML systems are fed from.
- Cloud infrastructure beyond what a data platform needs (networking, Kubernetes, DevOps) is on Cloud Zero to Hero.
- Security (identity, encryption, compliance such as GDPR and HIPAA) is on Security Zero to Hero.
Related¶
- Concepts - every data concept page on one list
- Study Hub - every data certification, by provider
- Topic indexes - databases and data engineering, across every pillar