Oracle merge into same table. merge into employee_payment ep using ( select p.