select ims_md_id
from ims_md_educational
where ims_md_id = :ims_md_id
update ims_md_educational
set sem_density_s = :sem_density_s,
sem_density_v = :sem_density_v
where ims_md_id = :ims_md_id
insert into ims_md_educational
(ims_md_id, sem_density_s, sem_density_v)
values
(:ims_md_id, :sem_density_s, :sem_density_v)
select '(' || sem_density_s || ') ' || sem_density_v as semd, ims_md_id
from ims_md_educational
where ims_md_id = :ims_md_id