Data Dungeon
← The Salt Crypts

Chamber 30 · Twin Currents

Twin Proof

Self-join plus EXISTS

Self JOINEXISTS+165 XP
Locked

Clear the previous chamber to unlock this one. You can still preview the briefing.

Briefing

Combine the floor's tools: apprentices who have a mentor and also resurfaced at least once.

Objective

Return apprentice name for divers with a mentor (self-join) who EXISTS in beacon_log, ordered by name.

Hint

Keep the self-join, then AND EXISTS (beacon_log for apprentice.id).

Chamber schema

divers3 cols

Divers with mentors

idnamementor_id
beacon_log3 cols

Resurface pings

iddiver_idsurfaced_on
chamber_30.sql

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

Warden

I am the Warden. Ask for a hint, paste a failing query, or request a review — I won't hand you the full answer.