Chamber 67 · Tangled Archives
Archive Totals
CTE + GROUP BY
Clear the previous chamber to unlock this one. You can still preview the briefing.
Briefing
Roll every thread into a CTE, then sum tension per weaver — woven aggregates from a named step.
Objective
Return weaver name and total_tension from WITH roll AS (threads) joined and summed per weaver.
Hint
WITH roll AS (SELECT weaver_id, tension FROM threads), JOIN weavers, SUM tension GROUP BY name.
Chamber schema
weavers2 colsWeavers in the archives
threads3 colsArchived thread tensions
Results appear here after you run a query. Correct rows alone are not enough — the Warden must seal your loot.
Ask the Warden
AI SQL coach — hints and fail reviews, not spoilers
I am the Warden. Ask for a hint, paste a failing query, or request a review — I won't hand you the full answer.