( primary key(rut_e)) NESTED TABLE departamento STORE AS departamento_tab NESTED TABLE cargas STORE AS cargas_tab
INSERT INTO empleado_tab
SELECT 1001, REF(C), SYSDATE,'10-MAY-2016', lineas_pedido_t(), NULL FROM clientes_tab C WHERE C.clinum= 1 ; INSERT INTO empleado_tab VALUES ( '10235811-4', 'Gustavo Muoz', to_date('10/03/1978', 'dd/mm/yyyy'), telefono_t('071-244436'), direccion_t('13 1/2 poniente', '0840', 'Talca'), departamento_tab_t(), cargas_tab_t()) ;
INSERT INTO THE (
SELECT D.departamento FROM empleado_tab D WHERE D.rut_e = '10235811-4') VALUES ( departamento_t(200, 'Finanzas', direccion_t('15 oriente','767','Talca')));
INSERT INTO THE (
SELECT C.cargas FROM empleado_tab C WHERE C.rut_e = '10235811-4') VALUES (cargas_t('14597657-4', 'Paz Lillo Miranda', to_date('10/07/1990', 'dd/mm/yyyy')));