> -----Original Message----- > I can see where the optimizer might try and > combine Stephen's main query and subquery into just one query. And what kills me is that if I explicitly do that, it works! I'm sure I'll be fiddling with this some more. ---------------------------------------------------------------- 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 -----------------------------------------------------------------