Oracle数据库性能优化-max(),MIN()

原始sql
SELECT MAX(OBJECT_ID),MIN(OBJECT_ID) FROM T1;
进程如下改写。

select (select MAX(OBJECT_ID) from t1),(select min(OBJECT_ID) from t1) from dual;

你可能感兴趣的:(ORACLE数据库性能优化)