mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
15 lines
383 B
Plaintext
15 lines
383 B
Plaintext
alter table ACT_RU_INTEGRATION
|
|
add constraint ACT_FK_INT_EXECUTION
|
|
foreign key (EXECUTION_ID_)
|
|
references ACT_RU_EXECUTION (ID_)
|
|
on delete cascade
|
|
---------------------------
|
|
SELECT e1.last_name
|
|
FROM employees e1
|
|
WHERE f(CURSOR((
|
|
SELECT e2.hire_date
|
|
FROM employees e2
|
|
WHERE e1.employee_id = e2.manager_id
|
|
)), e1.hire_date) = 1
|
|
ORDER BY last_name;
|