select (@i:=@i+1) as rank,t.* from tablename as t,(select @i:=0) as it
MYSQL添加序号列
最新推荐文章于 2024-06-06 09:01:54 发布
select (@i:=@i+1) as rank,t.* from tablename as t,(select @i:=0) as it