udemy-complete-dbt-bootcamp/code_thingies/dbtlearn/models/example/my_second_dbt_model.sql
Pablo Martin cfaa7cfecc dbt stuff
2023-10-29 18:40:01 +01:00

6 lines
115 B
SQL

-- Use the `ref` function to select from other models
select *
from {{ ref('my_first_dbt_model') }}
where id = 1