{
  "id": "sqlite-generated-columns-table",
  "kind": "table",
  "slug": "sqlite-generated-columns",
  "iil_id": null,
  "note_url": "https://iinventedlight.com/library/notes/sqlite-generated-columns/",
  "title": "SQLite generated columns compute a value from other columns in the row",
  "columns": [
    "name",
    "source",
    "detail"
  ],
  "rows": [
    {
      "name": "GENERATED ALWAYS",
      "source": "SQLite",
      "detail": "keywords that designate the column-constraint"
    },
    {
      "name": "VIRTUAL",
      "source": "SQLite",
      "detail": "versus STORED columns, as in the syntax section"
    },
    {
      "name": "STORED",
      "source": "SQLite",
      "detail": "versus VIRTUAL columns, as in the syntax section"
    },
    {
      "name": "PRIMARY KEY",
      "source": "SQLite",
      "detail": "an ordinary column in that example, not a generated column"
    }
  ],
  "related_slugs": [
    "postgres-generated-columns",
    "sqlite-datatypes-strict",
    "sqlite-when-to-use"
  ],
  "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."
}