→ joyce2267:好像是版本問題 囧 11/05 19:22
資料庫是Oracle
select * from (select * from A order by B desc ) where rownum <=1
我有查到可以使用上面的語法
但是在使用的時候卻出現錯誤"ora-00907 missing right parenthesis"
錯誤的位置停在order by前面,想請教一下是什麼原因,謝謝~
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 114.25.245.163