select ims_md_id
from ims_md_educational
where ims_md_id = :ims_md_id
update ims_md_educational
set difficulty_s = :difficulty_s, difficulty_v = :difficulty_v
where ims_md_id = :ims_md_id "
insert into ims_md_educational
(ims_md_id, difficulty_s, difficulty_v)
values
(:ims_md_id, :difficulty_s, :difficulty_v)
select '(' || difficulty_s || ') ' || difficulty_v as diff, ims_md_id
from ims_md_educational
where ims_md_id = :ims_md_id