Database Viewer

Browse the SQL that builds any database used across the lessons, without running it.

Loaded: Lesson 13 database ยท transactions.database-init

CREATE TABLE accounts (
  id SERIAL PRIMARY KEY,
  name TEXT NOT NULL,
  balance_cents INTEGER NOT NULL
);


INSERT INTO accounts (name, balance_cents)
VALUES ('Ada', 5000), ('Grace', 3000);