dbt - Advanced Patterns
You wrote this dbt model but it fails with a compilation error. What is the likely cause?
WITH base AS (
SELECT *
FROM ref('orders')
)
SELECT * FROM base