The query_partition_clause segrregates the result set into partitions, or groups, of data.
query_partition_clause
PostgreSQL
Oracle :
SELECT ename,empno,deptno, sal,round(AVG(sal)over(partition by deptno), 2) AGVSAL FROM emp
Oracle: