34,588
社区成员
发帖
与我相关
我的任务
分享
update ent_info
set yjhmment =
case when (sxze <=5000000 and (CAPITALAMOUNT <=1000 OR LASTYEARSALE <=3000) )
then '01'
else '02'
end
from ent_info,dhsxze
where ent_info.customerid = dhsxze.customerid
update ent_info set yjhmment =
case when (sxze <=5000000 and (ent_info.CAPITALAMOUNT <=1000 OR ent_info.LASTYEARSALE <=3000) ) then '01'
else '02' end
from ent_info inner join dhsxze on dhsxze.customerid = ent_info.customerid
update ent_info
set yjhmment =
case when (sxze <=5000000 and (CAPITALAMOUNT <=1000 OR LASTYEARSALE <=3000) )
then '01'
else '02'
end
from ent_info,dhsxze
where ent_info.customerid = dhsxze.customerid