Track 3 · Module 12

Dynamic tables: describe the result

Build a pipeline from raw orders to clean orders and customer totals. Understand when results change, how to inspect refreshes and where streams and tasks still belong.

Before you begin

Complete Module 11 and the SQL aggregation foundations. Nine lessons provide about 180 minutes of detailed reading plus optional manual practice.

Create M12_LAB in lesson 1 and follow examples in order. Replace YOUR_LAB_WH with an authorized warehouse. Dynamic-table creation and refresh need suitable privileges and use billable compute. Reading needs no account; this website executes no SQL.

Begin Module 12 →

Your lesson path

  1. Lesson 1 · 20 min

    What a dynamic table remembers

    A dynamic table stores the result of a query and refreshes it as its sources change. You describe the desired result; Snowflake manages the refresh work.

    Read and practise →
  2. Lesson 2 · 20 min

    Create the first stored transformation

    The AS SELECT query defines which source rows belong in a dynamic table. Refreshing maintains that query result, including removals when rows stop qualifying.

    Read and practise →
  3. Lesson 3 · 20 min

    Target lag and the dependency graph

    A dependency graph records which result reads which source. The consumer-facing freshness target drives refreshes through upstream dependencies.

    Read and practise →
  4. Lesson 4 · 20 min

    Incremental, full and AUTO: choose deliberately

    Refresh mode determines how a result is maintained. Incremental maintenance updates affected output; full refresh recomputes the result.

    Read and practise →
  5. Lesson 5 · 20 min

    Follow inserts, updates and deletes through the pipeline

    A refreshed dynamic table represents the current result of its defining query, not a permanent record of every source event.

    Read and practise →
  6. Lesson 6 · 20 min

    Read refresh history before changing the warehouse

    Refresh history connects symptoms such as stale results to the actual refresh attempts, their status and the source-data timestamp they represent.

    Read and practise →
  7. Lesson 7 · 20 min

    Bridge an incremental dynamic table into CDC

    A standard stream on a supported incremental dynamic table captures changes in its refreshed output. It does not observe every intermediate source edit.

    Read and practise →
  8. Lesson 8 · 20 min

    Suspend, resume and change a pipeline safely

    Suspension stops automatic refresh work; the stored result remains queryable but can become stale. Lifecycle changes need a dependency-aware plan.

    Read and practise →
  9. Lesson 9 · 20 min

    Final lab: choose declarative or procedural processing

    Use dynamic tables for maintained query results. Keep streams and tasks where you need explicit transactions, conditional orchestration or side effects.

    Read and practise →

Continue learning

Continue to Module 13 — Data Modeling & Reliable Pipeline Design →

Full curriculum →