is that possible to select numbers from 1 to number of results, i don't know how to express my question ... let me give an example ~
i want to select the name and surname of the students
i can simply use : "select name,surname from students" and the result will be:
name surname
Mark Robert
Billy Jones
Susan Lee
..... .....
..... ......
..... ...
Michael Geer
but i want the result to be as follow (with using SQL only and there is no 'num' colum in the table, which means SQL must generate it):
num name surname
1 Mark Robert
2 Billy Jones
3 Susan Lee
.... .... ....
.... .... ....
.... .... ....
103 Michael Geer
thanx ~