insert /*+ append */ into mb_post_custom_info nologging
select a.msisdn,b.cust_name,b.post_addr,b.postalcode,a.fee_area
from (select msisdn,fee_area,cust_id from mb_serv_acc_nbr
where fee_area= '752') a,
(select cust_name,post_addr,postalcode,cust_id from mb_serv_cust
where sts='A' and post_flag='B') b
where a.cust_id=b.cust_id上面这条SQL语句在查询速度上还有没有优化的方法?
在线等
select a.msisdn,b.cust_name,b.post_addr,b.postalcode,a.fee_area
from (select msisdn,fee_area,cust_id from mb_serv_acc_nbr
where fee_area= '752') a,
(select cust_name,post_addr,postalcode,cust_id from mb_serv_cust
where sts='A' and post_flag='B') b
where a.cust_id=b.cust_id上面这条SQL语句在查询速度上还有没有优化的方法?
在线等
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货