select
alam.html_options
from
ams_list_attribute_map alam,
ams_attributes aa,
ams_lists al
where
alam.attribute_id = aa.attribute_id
and alam.list_id = al.list_id
and alam.list_id = :list_id
and alam.attribute_id = :attribute_id
update ams_list_attribute_map
set html_options = :html_options
where list_id = :list_id
and attribute_id = :attribute_id