dbt Analytics Engineering (50 Qs)•Part 1: dbt Core Concepts & Fundamentals (Junior / Entry-Level)
What are Materializations in dbt?
junior LevelCode Exampledbtdbt Core Concepts
In Simple Words: Materializations determine how the SQL query in a model is physically created inside the warehouse:
view: Creates a standard SQL View (CREATE VIEW ...). Recomputed on every query; zero storage cost.table: Creates a physical table (CREATE TABLE ... AS SELECT). Slower to build, but provides fast querying for downstream BI dashboards.incremental: Appends or merges only new/modified rows since the last run. Crucial for tables with billions of rows.ephemeral: Does not create any physical object in the database! Instead, dbt interpolates it as a Common Table Expression (CTE) directly inside downstream models.
sql
-- Configured at top of model:
{{ config(materialized='table') }}
SELECT * FROM ...