Setting Up and Referencing a Source

Learn how to query a table that’s not a dbt model.

Introduction to sources

The ref function allows us to query another dbt model. But very often, we need to query some sources that were not created through dbt. We can reference them by typing their full name(s):

Get hands-on with 1400+ tech skills courses.