A page about all row scope subject in Sqlite.
Sqlite has an internal rowid
The row_number() function window function returns the id of the row
(ie It's not the ID in the table).
Example:
select ROW_NUMBER() over (), * from myTable;
Same as How to use the SQL ROW_NUMBER function?