Your First dbt Model

A dbt model is a SELECT statement saved as a .sql file inside the models/ folder. When you run dbt, every model becomes a view (or table) in your warehouse, named after the file.

In this lesson you will use dbt run to materialize a stg_customers model and dbt show --select stg_customers to preview the rows it produced. These are the two commands you will type most often as a dbt developer.

Loading the interactive tutorial… If this message stays, please enable JavaScript.