SQLite Forum

Does table have rowid?
Login
Here is basically the same thing using my Catalog Views which expand the column names somewhat:

```
sqlite> select * from SysTables;
┌──────────────┬────────────┬────────────────────┬─────────┬────────────┬─────────────┬──────────┬───────────────┬─────────┬───────────────┬──────────────────┐
│ ObjectSchema │ ObjectType │     ObjectName     │ NumCols │ isReadOnly │ isEphemeral │ isShadow │ hasPrimaryKey │ isRowid │ hasNamedRowid │ hasAutoIncrement │
├──────────────┼────────────┼────────────────────┼─────────┼────────────┼─────────────┼──────────┼───────────────┼─────────┼───────────────┼──────────────────┤
│ main         │ table      │ sqlite_master      │ 5       │ 1          │ 0           │ 0        │ 0             │ 1       │ 0             │ 0                │
│ temp         │ view       │ SysForeignKeys     │ 0       │ 0          │ 0           │ 0        │ 0             │ 0       │ 0             │ 0                │
│ temp         │ view       │ SysTriggers        │ 0       │ 0          │ 0           │ 0        │ 0             │ 0       │ 0             │ 0                │
│ temp         │ view       │ SysIndexColumns    │ 0       │ 0          │ 0           │ 0        │ 0             │ 0       │ 0             │ 0                │
│ temp         │ view       │ SysIndexes         │ 0       │ 0          │ 0           │ 0        │ 0             │ 0       │ 0             │ 0                │
│ temp         │ view       │ SysColumns         │ 0       │ 0          │ 0           │ 0        │ 0             │ 0       │ 0             │ 0                │
│ temp         │ view       │ SysTables          │ 11      │ 0          │ 0           │ 0        │ 0             │ 0       │ 0             │ 0                │
│ temp         │ view       │ SysObjects         │ 0       │ 0          │ 0           │ 0        │ 0             │ 0       │ 0             │ 0                │
│ temp         │ view       │ SysDatabases       │ 0       │ 0          │ 0           │ 0        │ 0             │ 0       │ 0             │ 0                │
│ temp         │ table      │ sqlite_temp_master │ 5       │ 1          │ 0           │ 0        │ 0             │ 1       │ 0             │ 0                │
│ _tz_         │ view       │ TZ_Lookup          │ 0       │ 0          │ 0           │ 0        │ 0             │ 0       │ 0             │ 0                │
│ _tz_         │ view       │ TZ_AllZones        │ 0       │ 0          │ 0           │ 0        │ 0             │ 0       │ 0             │ 0                │
│ _tz_         │ vtable     │ tz_geopoly         │ 0       │ 0          │ 0           │ 0        │ 0             │ 1       │ 0             │ 0                │
│ _tz_         │ table      │ sqlite_master      │ 5       │ 1          │ 0           │ 0        │ 0             │ 1       │ 0             │ 0                │
│ _tz_         │ table      │ sqlite_stat1       │ 3       │ 0          │ 0           │ 0        │ 0             │ 1       │ 0             │ 0                │
│ _tz_         │ table      │ sqlite_stat4       │ 6       │ 0          │ 0           │ 0        │ 0             │ 1       │ 0             │ 0                │
│ _tz_         │ table      │ tz_geopoly_rowid   │ 4       │ 0          │ 0           │ 0        │ 1             │ 1       │ 1             │ 0                │
│ _tz_         │ table      │ tz_geopoly_node    │ 2       │ 0          │ 0           │ 0        │ 1             │ 1       │ 1             │ 0                │
│ _tz_         │ table      │ TZ_ZoneData        │ 5       │ 0          │ 0           │ 0        │ 0             │ 1       │ 0             │ 0                │
│ _tz_         │ table      │ TZ_Version         │ 2       │ 0          │ 0           │ 0        │ 0             │ 1       │ 0             │ 0                │
│ _tz_         │ table      │ tz_geopoly_parent  │ 2       │ 0          │ 0           │ 0        │ 1             │ 1       │ 1             │ 0                │
│ _tz_         │ table      │ TZ_Countries       │ 2       │ 0          │ 0           │ 0        │ 1             │ 0       │ 0             │ 0                │
│ _tz_         │ table      │ TZ_Zones           │ 6       │ 0          │ 0           │ 0        │ 1             │ 1       │ 1             │ 0                │
│ main         │ etable     │ pragma_table_list  │ 11      │ 0          │ 0           │ 0        │ 0             │ 1       │ 0             │ 0                │
│ main         │ etable     │ sqlite_dbpage      │ 3       │ 0          │ 0           │ 0        │ 0             │ 1       │ 0             │ 0                │
│ main         │ etable     │ sqlite_dbdata      │ 5       │ 0          │ 0           │ 0        │ 0             │ 1       │ 0             │ 0                │
└──────────────┴────────────┴────────────────────┴─────────┴────────────┴─────────────┴──────────┴───────────────┴─────────┴───────────────┴──────────────────┘
```