How to get the last row of an Oracle a table

后端 未结 7 2226
名媛妹妹
名媛妹妹 2020-11-28 08:31

I want to get the last row, which I inserted into a table in an Oracle 11g Express database. How can I do this?

相关标签:
7条回答
  • 2020-11-28 09:27
    SELECT * FROM 
      MY_TABLE
    WHERE 
      <your filters>
    ORDER BY PRIMARY_KEY DESC FETCH FIRST ROW ONLY
    
    0 讨论(0)
提交回复
热议问题