0
点赞
收藏
分享

微信扫一扫

在mysql中给查询的结果添加序号列


select  (@i:=@i+1) as i,t.id from table t,(select @i:=0) as xh

举报

相关推荐

0 条评论