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 table.*,@rn:=@rn+1 as row_num from table,(select @rn:=0) as r order by field_you_like