In Oracle, it\'s possible to do a SELECT statement that returns the row number as a column in your result set.
SELECT
For example,
SELECT rownu
Qualify the * with the name of the table:
select rownum, table.* from table