First of all, I\'m not asking how to get the current row number after the results have been return to you.
I\'m wondering, is it possible to get the row number as on
select @n := @n + 1 mynum, t.* from (select @n:=0) initvars, tbl t