Friday, March 19, 2021

Oracle Sql Most uses Function

 


ROLLUP (Grand total)


select department_id , sum(salary) 

from hr.employees 

group by rollup(department_id)

//

select department_id ,E.JOB_ID, sum(salary) 

from hr.employees e

group by rollup(department_id,e.job_id)


No comments:

Post a Comment

How to install and configure Oracle Apex 24.1 with ORDS 22, Tomcat 9 and Jasper Report 7 on Oracle Linux 8.10

#########################Install Oracle  APEX 24.1################################ ----------------------------------------------------...