【发布时间】:2016-06-04 07:51:57
【问题描述】:
在我使用oracle时出现此错误,但在mysql中可以正常工作
left outer join
daybreak.contract_details expiring on
expiring.acd_id =
(select
max(lastexpire.acd_id)
from
daybreak.contract_details lastexpire
where lastexpire.acd_aad_id =acc_aad_id and
lastexpire.acd_itemization_tcd_code in ('IIN_5') and
lastexpire.acd_expiry_dt between to_date('2014-01-01','yyyy-mm-dd')
and to_date('2014-02-01','yyyy-mm-dd') and
lastexpire.acd_term > 0
)
谢谢
【问题讨论】:
-
您遇到什么错误?另外,这个查询是否完整?