comment below On Fri, 11 Jun 2004 11:31:59 -0500, Hamid Alavi <hamid.alavi@xxxxxxxxxxx> wrote: > > select from two tables and using CASE statement. > That's it That doesn't entirely describe the query really does it? Anyway I susepct that it maybe the CASE statement that qualifies your query as 'complex'. Niall Litchfield Oracle DBA http://www.niall.litchfield.dial.pipex.com ---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request@xxxxxxxxxxxxx put 'unsubscribe' in the subject line. -- Archives are at //www.freelists.org/archives/oracle-l/ FAQ is at //www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------