I would advise you to check
your understanding very carefully before you start accusing others of being wrong.
Or if you specify OVER keyword, you cant go without specifying querypartitionclause as per syntax diagram. select listagg ( department_id, ',' )
within group ( order by department_id )
over () depts
from hr.departments
where manager_id is not null;
DEPTS
-----------------------------------------------------------------
10,20,30,40,50,60,70,80,90,100,110
10,20,30,40,50,60,70,80,90,100,110
10,20,30,40,50,60,70,80,90,100,110
10,20,30,40,50,60,70,80,90,100,110
10,20,30,40,50,60,70,80,90,100,110
10,20,30,40,50,60,70,80,90,100,110
10,20,30,40,50,60,70,80,90,100,110
10,20,30,40,50,60,70,80,90,100,110
10,20,30,40,50,60,70,80,90,100,110
10,20,30,40,50,60,70,80,90,100,110
10,20,30,40,50,60,70,80,90,100,110