The precise removal — complete key, one native write, first press.
DELETE FROM "stage.Users"WHERE pk = 'USER#42' AND sk = 'PROFILE' Remove items — with the same two shapes as UPDATE. A WHERE naming the complete primary key is a native single-item delete; anything looser runs as a preview-first set-based delete whose first Run writes nothing. This page is about removing data; removing a table is DROP TABLE, a control-plane statement with a type-the-name confirmation — the two never collide.
DELETE FROM "table"WHERE key predicates [AND conditions][RETURNING ALL OLD *] RETURNING ALL OLD * echoes the item as it was before the delete — the last look you'll get. Read-only stages refuse deletes on every surface. Guide: Writes & transactions.
The precise removal — complete key, one native write, first press.
DELETE FROM "stage.Users"WHERE pk = 'USER#42' AND sk = 'PROFILE' Audit trails and undo buffers — the deleted item comes back in the same round trip.
DELETE FROM "stage.Users"WHERE pk = 'USER#42' AND sk = 'PROFILE'RETURNING ALL OLD * Clear outbox entries older than 30 days. No key in the WHERE → bulk delete: preview the matching rows first, then an unchanged second Run removes them, each write re-checking its predicate atomically.
DELETE FROM "stage.Outbox"WHERE CreatedAt < CURRENT_TIMESTAMP - 30 CURRENT_TIMESTAMP - 30 becomes a literal, disclosed in the strip.Related: Writes & transactions · UPDATE · Transactions · Tables, indexes & replicas for DROP TABLE.