oracle 根据根据单列去重
DELETE FROM emp_test WHERE ROWID NOT IN(
SELECT MAX(ROWID) FROM emp_test GROUP BY job)
oracle 分页查询
SELECT * FROM (
SELECT e.*, ROWNUM rn FROM emp e WHERE ROWNUM<=10
) WHERE rn >=6
oracle 根据根据单列去重
DELETE FROM emp_test WHERE ROWID NOT IN(
SELECT MAX(ROWID) FROM emp_test GROUP BY job)
oracle 分页查询
SELECT * FROM (
SELECT e.*, ROWNUM rn FROM emp e WHERE ROWNUM<=10
) WHERE rn >=6