create or replace view exfsys.billingt_rytcdr_Mysql  as
select A.STARTDATE,A.VO,A.SM,A.OPTDATE,B.calldate,B.voice,B.sms,
B.optdate,(A.VO-B.voice) as V, (A.SM-B.sms) as S
from  mysql.SALES_PRE_DAILYREPORT1 B,exfsys.billingt_rytcdr A
where A.STARTDATE=to_date(B.calldate,'yyyymmdd')
order by A.STARTDATE;MYSQL.SALES_PRE_DAILYREPORT1是MQL表上的同义词,我在建视图是总是提示错误,
ora-00904:"B"."calldate":标志符无效。
这是怎么回事啊?我确定由这个字段