查询新增序号列

select @x:=@x+1 as rownum, t.* from titles t,(select @x:=0) p limit 0,100;

猜你喜欢

转载自tangleilei.iteye.com/blog/2307400
今日推荐