第一种方法: select (@i:[email protected]+1) as i,table_name.* from table_name,(select @i:=0) as it+1) 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交