HOw to query raking of salaries department wise?
SELECT empno,
deptno,
sal,
RANK () OVER (PARTITION BY deptno ORDER BY sal DESC) AS ranking
FROM emp
deptno,
sal,
RANK () OVER (PARTITION BY deptno ORDER BY sal DESC) AS ranking
FROM emp
**Business Consulting*Proof of concepts*Skill Enhancement***
HOw to query raking of salaries department wise?