231107 PL/SQL TRIGGER VIEW, 복합뷰
# test table (new_emp)생성 CREATE TABLE hr.new_emp AS SELECT employee_id, last_name, salary, department_id, email, job_id, hire_date FROM hr.employees; # test table (new_dept) 생성CREATE TABLE hr.new_dept AS SELECT d.department_id, d.department_name, d.location_id, e.tot_dept_sal FROM ( SELECT department_id, sum(salary) tot_dept_sal FROM hr.employees GROUP BY department_id ) e, hr.departments d WHER..