自动递增序号

SELECT (@i:=@i+1) no,
a.*
FROM c_user a
INNER JOIN (SELECT @i:=0) seq
posted @ 2022-09-16 14:32  亲爱的阿道君  阅读(28)  评论(0)    收藏  举报