retrieve only second row of the table in oracle?

前端 未结 2 1535
心在旅途
心在旅途 2021-01-06 15:47

Can anyone help, how to retrieve exactly 2nd row from the table in oracle?

2条回答
  •  逝去的感伤
    2021-01-06 16:20

    Thanks for your answers,now i found the solution for this,

          select * from
            (select rownum rn,column1,column2,...,columnn from tablename)
          where
             rn=2 
    

    Now you can check this and post your valuable comments.

提交回复
热议问题