Learn Oracle Applications Tech-Stack
Pages
(Move to ...)
Home
SOA
Fusion BI Reporting
Fusion BI Reports SQL
Fusion Quick Ref SQL
OAF
WedADI
Workflow
Reports
Debugging
FNDLOAD
Concurrent Programs
Quick Reference API
Form Personalization
Quiz
▼
Pages
(Move to ...)
Home
Quiz
Workflow
Reports
Form Personalization
Quick Reference API
Fusion Quick Ref SQL
OAF
ADF
WedADI
Concurrent Programs
FNDLOAD
Debugging
▼
Tuesday, 13 August 2019
Analytical SQL: Rank Vs Dense Rank
Rank Vs Dense Rank
select e.*, rank() over( order by salary desc) from employees e;
-- rank returned as 1,2,3,3,5
select e.*, dense_rank() over( order by salary desc) from employees e;
-- rank returned as 1,2,3,3,4
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment