Writing SQL queries
Understand how to write SQL queries for your dbt models.
To improve the readability of your SQL code, consider using Common Table Expressions (CTEs). CTEs are temporary query results that can be re-used within the broader scope of the entire model.
What SQL dialect should I use for my models?