A friend building a little database application asked me if it's possible to automatically number the rows from an SQL output. For instance, if the statement:
SELECT Row1, Row2
FROM TABLE1
would give:
Row1 Row2
Soup 20
Bread 40
She would like to be able to get the following:
Row1 Row2
1. Soup 20
2. Bread 40
Is there an SQL-based solution for this? The DBMS used here (should it make a difference) is Access 97.
Thanks in advance!
"Much that I bound, I could not free. Much that I freed returned to me."
(Lee Wilson Dodd)
SELECT Row1, Row2
FROM TABLE1
would give:
Row1 Row2
Soup 20
Bread 40
She would like to be able to get the following:
Row1 Row2
1. Soup 20
2. Bread 40
Is there an SQL-based solution for this? The DBMS used here (should it make a difference) is Access 97.
Thanks in advance!
"Much that I bound, I could not free. Much that I freed returned to me."
(Lee Wilson Dodd)