In order to display row numbers along with their records numbers you can do this:
1
Select rownum <fieldnames> from table;
This above query will display the row numbers and the field values from the given table.
This query will display row numbers and the field values from the given table.