Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Complex PL-SQL Query ?
Right, that was a typo of a sort. Should be
group by HULLTYPE
Though the SQL posted by Gomer McFlarp looks simpler. Have not compared the plan and performance, but I would use his query.
"Damjan S. Vujnovic" <damjan_at_galeb.etf.bg.ac.yu> wrote in message news:<aria5u$8el$1_at_news.etf.bg.ac.yu>...
> "Jusung Yang" <JusungYang_at_yahoo.com> wrote:> >
> > > YDT 5 443322/B 01-JAN-99
> > > YTD 5 443322/B 28-NOV-02
> t2
> > where t1.HULLTYPE=t2.HULLTYPE and t1.ASOFDATE=t2.d1);
> > [group by ASOFDATE] or maybe [group by HULLTYPE]? > > Regards, > Damjan S. Vujnovic > > University of Belgrade > School of Electrical Engineering > Department of Computer Engineering & Informatics > Belgrade, Yugoslavia
![]() |
![]() |