摘要: 代码思路如下:select *,(@row_num:=@row_num+1) as row_no from stc_output,(select(@row_num:=0)) b;select * from (select *,(@row_num:=@row_num+1) as row_no from... 阅读全文
posted @ 2014-09-02 17:49 zero@ 阅读(4440) 评论(0) 推荐(2) 编辑