dbt - Jinja in dbt
What will be the output SQL of this dbt snippet?
{% set tables = ['orders', 'customers'] %}
SELECT '{{ tables[1] }}' AS table_name{% set tables = ['orders', 'customers'] %}
SELECT '{{ tables[1] }}' AS table_name15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions