dbt in Practice · Lesson 1 of 5 · 14 min

Sources, staging and marts

How a dbt project is organised, and why every model has one job.

dbt (data build tool) lets you build a warehouse out of SELECT statements. Each .sql file is a model: dbt runs it and saves the result as a table or view. Models can read other models, so you build in small, readable steps.

Almost every dbt project uses the same three layers: