Every SQLite row automatically has a fast 64-bit rowid. Declaring a column as INTEGER PRIMARY KEY makes it an alias for rowid and auto-increments automatically—without needing the extra AUTOINCREMENT keyword (which SQLite docs actually recommend avoiding unless you strictly need IDs never reused after deletion).
ADVERTISEMENT