in Oracle by
How to display row numbers with the records?

2 Answers

0 votes
by

Display row numbers with the records numbers –

Select rownum, <fieldnames> from table;

This query will display row numbers and the field values from the given table.


0 votes
by

In order to display row numbers along with their records numbers you can do this:

1

Select rownum &lt;fieldnames&gt; 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.

...