1.Give a query for a list of each department(number and name)with their number of employees.这是EMP表的问题,2.give a query for a list of each department(number and name) for all department with no employees.
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/24 00:57:13
1.Give a query for a list of each department(number and name)with their number of employees.这是EMP表的问题,2.give a query for a list of each department(number and name) for all department with no employees.
1.Give a query for a list of each department(number and name)with their number of employees.
这是EMP表的问题,2.give a query for a list of each department(number and name) for all department with no employees.
1.Give a query for a list of each department(number and name)with their number of employees.这是EMP表的问题,2.give a query for a list of each department(number and name) for all department with no employees.
select dep.dept_no,dep.name,count(emp.empno) employeeNumber
from ps_department dep,ps_employee emp
where dep.dept_no = emp.dept_no
and dep.current_status = 'Y' /* in use */
and emp.current_status = 'Y' /* in use */
fyi.
为每个部门员工的编号和名称做一份调查列表。