oracle中top用法

iteye_17956發表於2013-04-24
SELECT
列名1...列名n
FROM
(SELECT 列名1...列名n FROM 表名 ORDER BY 列名1...列名n)
WHERE ROWNUM <= N(抽出記錄數)
ORDER BY ROWNUM ASC

相關文章