select @rownum:=@rownum+1 as rownum, b.* from (select @rownum:=0) a, b
b表是数据表
posted on 2017-05-24 15:50 vijayfly 阅读(3731) 评论(0) 编辑 收藏 举报