update sjtj set sjks=
(case tx+dj when 'cxgc_c1' then (select min(sjbh) from cxgc where   bh='1'and  sjbh like '1%' )
                  when 'cxgc_c2' then (select min(sjbh) from cxgc where   bh='1'and  sjbh like '2%')
                  when 'cxgc_c1 'then (select min(sjbh) from cxgc where  bh='2 ' and  sjbh like '1%')
end 
)