Database Viewer

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

Loaded: Lesson 6 database ยท mvcc.database-init

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


INSERT INTO accounts (name, balance)
VALUES
  ('checking', 1000),
  ('savings', 5000);