select ims_md_id
from ims_md_educational
where ims_md_id = :ims_md_id
update ims_md_educational
set int_type_s = :int_type_s,
int_type_v = :int_type_v
where ims_md_id = :ims_md_id
insert into ims_md_educational
(ims_md_id, int_type_s, int_type_v)
values
(:ims_md_id, :int_type_s, :int_type_v)
select '[' || int_type_s || '] ' || int_type_v as intt, ims_md_id
from ims_md_educational
where ims_md_id = :ims_md_id