SELECT *
FROM staffs
WHERE staffs.department_id = (
SELECT department.department_id
FROM department
WHERE department.department_name = '行政部' )
UNION
SELECT *
FROM staffs
WHERE staffs.department_id IN (
SELECT low_department_id
FROM department_department
WHERE department_department.high_department_id = (
SELECT department.department_id
FROM department
WHERE department.department_name = '行政部' )
)