日期:2014-05-17 浏览次数:20725 次
--用rownum可以实现 select name,rownum from (select name from tableA order by name) ------解决方案--------------------
select name,rownum no from (select name from tableA order by name)