Get startedGet started for free

Hierarchical model creation

Consider you have the following 4 models defined:

  • sales_raw
  • all_weekend_sales
  • total_sales_by_rep
  • new_products_purchased_this_week

If all of the models except for sales_raw have a Jinja template in place of the table name (such as {{ ref('sales_raw') }}), in what order will dbt execute them?

This exercise is part of the course

Introduction to dbt

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise