select @a:=@a+1 as row_num, t.* from gen_table t,(select @a:=0) n ;
mysqlrow_num解决方案
最新推荐文章于 2024-04-09 09:53:26 发布
select @a:=@a+1 as row_num, t.* from gen_table t,(select @a:=0) n ;