SELECT ROWID FROM my_table. See the SELECT command for more details.
Row IDs can also be used in the WHERE clause of commands.
Row IDs of the affected rows are returned by the INSERT, UPDATE and DELETE commands if the RETURNING ROWID clause is specified.