Mysql
 sql >> Database >  >> RDS >> Mysql

MySQL - numero di riga nel recordset?

select table.*,@rn:[email protected]+1 as row_num
from table,(select @rn:=0) as r order by field_you_like