- 博客(5)
- 收藏
- 关注
原创 营销平台虚拟数据添加
--修改线路的配送部门--update mmsdelivercir a set a.orgid=(select old_dept_code from dc_dept@lk_sjck where dept_type=0206 and old_up_dept_code=a.corpid)--添加区公司虚拟客户经理insert into kenoahuser(userid,homebizenti
2008-02-29 11:05:00 775
原创 查询短信
select i.*,i.rowid from smsinfoabout iwhere to_char(i.createdate,yyyymmdd)>=to_char(sysdate-9,yyyymmdd) and i.addresseeid=81397
2008-02-29 11:04:00 267
原创 修改客户预测提报数据
create table mmcforemar_zbb_20080215_1 asselect * from mmcforemar a where a.orgid in (select d.bizentityid from bizentity d where d.parentbizentityid=100026)and to_char(a.foredate,yyyymm)=200803
2008-02-29 11:03:00 275
原创 2007年第三季度正常客户星级
--2007年第三季度正常客户星级select b.Corpid,b.corpname,b.Licenseno,b.Shopname,b.Principalname,nvl(a.clevel,XH)from mmregieinfoview b,(select clientid,to_char(clientlevel) clevel from mmcclientgradewhere graded
2008-02-29 11:03:00 223
原创 月度三层预测数据
--不包括区公司有但是订单部没有预测的品牌select decode(d.menuid,14,低档烟,decode(c.statguid,1,1,5,5,省外烟)) ftype,c.cigacode,c.ciganame,c.barbarcode, sum(decode(a.ftype,4,a.adjustamount,0))/5 manager, sum(
2008-02-29 11:02:00 348
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人