SELECT @y:=@y+1 id,a.* FROM
(SELECT id,NAME FROM usr)a,(SELECT @y:=0) b
MySql自造自增序列
最新推荐文章于 2023-12-20 22:26:46 发布
SELECT @y:=@y+1 id,a.* FROM
(SELECT id,NAME FROM usr)a,(SELECT @y:=0) b