...

/

Setting Up and Referencing a Source

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):

Press + to interact
SELECT *
FROM marketing_dataset.raw_ads

But it’s not a good ...