![]() |
|||
|
![]() |
![]() |
|
FULL A - Z Oracle Function Library (formerly named "Morgan's Library")
![]() Term: FIRST
Definition: [AGGREGATE FUNCTION] KEEP (DENSE_RANK FIRST ORDER BY [COLUMN | EXPRESSION] [ASC | DESC] ) In the syntax, the KEEP keyword is used as an indication that only FIRST values are returned. Note that DENSE_RANK is always used to rank the grouped rows and extract the minimum or maximum value. Notes:
Example Usage: The SQL query below displays the salary of each employee in a department. At the same time it also shows the lowest salary in their department. SELECT DEPTNO, ENAME ,SAL Related Links:
Related Code Snippets:
![]() ![]() ![]() ![]() |
![]() |
Home | Search | Code Library | Sponsors | Privacy | Terms of Use | Contact Us | © 2003 - 2025 psoug.org |