Writing dataWriting data

Writing data

INSERT, UPDATE, and DELETE — the statements that change rows instead of just reading them.

Everything else in these docs is about SELECT. These three statements are how data gets there in the first place, and how it changes.

Playground note

The examples on these pages run against a scratch copy of a seed table (CREATE TABLE scratch_x AS SELECT * FROM x), not the real one — so running an UPDATE or DELETE here never affects the examples on other pages. Feel free to mutate away.

Want to experiment freely? The playground is the same SQLite engine, no guardrails.Open the playground →

On this page