I have a couple of tables that I query, but I wish to add an extra column in the query which numbers the result set from 0-* (note, I don't wish to find out how many results there are).
This is so that I can extract rows between two numbers for example:
...where rowcount BETWEEN 32 AND 40
and I'd get a result such as
rowcount column 1
32 name1
33 name2
34 name3
35 name4
etc.
I'm using MySql 3.x
Thanks.
This is so that I can extract rows between two numbers for example:
...where rowcount BETWEEN 32 AND 40
and I'd get a result such as
rowcount column 1
32 name1
33 name2
34 name3
35 name4
etc.
I'm using MySql 3.x
Thanks.