{
  "id": "sqlite-without-rowid-table",
  "kind": "table",
  "slug": "sqlite-without-rowid",
  "iil_id": null,
  "note_url": "https://iinventedlight.com/library/notes/sqlite-without-rowid/",
  "title": "WITHOUT ROWID makes the primary key SQLite's clustered index",
  "columns": [
    "name",
    "source",
    "detail"
  ],
  "rows": [
    {
      "name": "WITHOUT ROWID",
      "source": "SQLite",
      "detail": "keywords added at the end of CREATE TABLE"
    },
    {
      "name": "rowid",
      "source": "SQLite",
      "detail": "the special column that is omitted"
    },
    {
      "name": "PRIMARY KEY",
      "source": "SQLite",
      "detail": "the clustered index for the table"
    },
    {
      "name": "CREATE TABLE IF NOT EXISTS wordcount(...) WITHOUT ROWID",
      "source": "SQLite",
      "detail": "the documented example"
    }
  ],
  "related_slugs": [
    "sqlite-query-planner-indexes",
    "sqlite-when-to-use",
    "postgres-indexes-basics"
  ],
  "license": "CC-BY-4.0",
  "source_license": "Public-Domain (SQLite); Public-Domain (SQLite); prose restates cited source lines in own words",
  "as_of": "2026-11-20",
  "status": "deep-draft-20261120",
  "note": "Restated from the note's GREEN sources; check those sources before relying on a value."
}