select rownum,id ,maths from table order by maths desc

解决方案 »

  1.   

    select decode(to_char(maths),'80','1','75','2','65','4') 名次,ID,MATHS FROM TABLE
      

  2.   

    plapla(皮球一号),我,没在意他的名字,否则就~!·#¥%
      

  3.   

    select rank() over(order by MATHS desc) 名次,id ,maths from table_name order by maths desc
      

  4.   

    select rownum 名次,id  ,maths from table order by maths desc