Database Viewer

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

Loaded: Lesson 7 database ยท null.database-init

CREATE TABLE tickets (
  id SERIAL PRIMARY KEY,
  title TEXT NOT NULL,
  assignee TEXT,
  closed_at DATE
);


INSERT INTO tickets (title, assignee, closed_at)
VALUES
  ('Fix signup', 'Ada', NULL),
  ('Write docs', NULL, NULL),
  ('Close billing bug', 'Grace', DATE '2026-01-10');