0
有三个查询想让它一个需要注意的是hrv_empworkingarea
表视图表从三个查询进行一次查询
select count(distinct dept_no)
total_dept
FROM hrv_empworkingarea
where short_name LIKE 'IN' AND active_flag='Y';
select count(a.doctor_no)
total_doctor
from hpms_doctor a
where a.active_flag= 'Y';
select count(job_id)
totalNurse
from HR_EMPLOYEE
where job_id= '155';