"When you need a value from the first or last row of a sorted group, but the needed
value is not the sort key, the FIRST and LAST functions eliminate the need for
self-joins or views and enable better performance."
SELECT department_id,
MIN(salary) KEEP (DENSE_RANK FIRST ORDER BY commission_pct) "Worst",
MAX(salary) KEEP (DENSE_RANK LAST ORDER BY commission_pct) "Best"
FROM employees
GROUP BY department_id;
From Oracle Document
分享到:
相关推荐
maven-site-aggregate-plugin-2.14.0-test-sources.jar
maven-site-aggregate-plugin-2.13.0-test-sources.jar
maven-site-aggregate-plugin-2.12.0-test-sources.jar
maven-site-aggregate-plugin-2.11.0-test-sources.jar
maven-site-aggregate-plugin-2.10.0-test-sources.jar
maven-site-aggregate-plugin-2.9.0-test-sources.jar
maven-site-aggregate-plugin-2.8.0-test-sources.jar
maven-site-aggregate-plugin-2.7.0-test-sources.jar
maven-site-aggregate-plugin-2.6.0-test-sources.jar
maven-site-aggregate-plugin-2.5.0-test-sources.jar
maven-site-aggregate-plugin-2.4.0-test-sources.jar
maven-site-aggregate-plugin-2.3.0-test-sources.jar
maven-site-aggregate-plugin-2.2.0-test-sources.jar
maven-site-aggregate-plugin-2.1.0-test-sources.jar
maven-site-aggregate-plugin-1.4.0-test-sources.jar
maven-site-aggregate-plugin-1.3.0-test-sources.jar
a novel variant called aggregate channel features, make a full exploration of feature design, and discover a multi- scale version of features with better performance. To deal with poses of faces in ...
maven-site-aggregate-plugin-2.14.0-sources.jar
maven-site-aggregate-plugin-2.13.0-sources.jar
maven-site-aggregate-plugin-2.12.0-sources.jar