2 つの日付フィールドがあり、where 句で OR を使用しようとしています。例として、
Select customer_records.customer_id, customer_records.join_date, rejected_customers.rejected_date, status_lookup.status_description
From customer_records, rejected_customers, status_lookup
Where status_lookup.status_id(+) = customer_records.status_id and customer_records.customer_id = rejected_customers.customer_id
and (customer_records.join_date between to_date('01-10-2012','dd-mm-yyyy') and to_date('01-11-2012','dd-mm-yyyy') or rejected_customers.rejected_date between to_date('01-10-2012','dd-mm-yyyy') and to_date('01-11-2012','dd-mm-yyyy')
したがって、基本的な結果は、参加日または拒否された日付が日付フィールドに該当する場合、customer_id が必要です。私はそれを機能させることができないようです、助けていただければ幸いです、ありがとう!