From: Herman de Boer <h.de.boer@itcg.nl>
Subject: Re: Oracle - Out of process memory
Date: Thu, 15 Aug 2002 07:58:15 GMT [thread overview]
Message-ID: <ajfn1a$gik$1@news1.xs4all.nl> (raw)
In-Reply-To: 55b03025.0208142320.2f84ab35@posting.google.com
Johnny Yeung wrote:
>The SQL statement is:
>select distinct street_h, STREET_SEQ from building group by bldg_h,
>estate_h, street_h, district_e, area_e, STREET_SEQ having (1=1) and
>district_e = 'CHAI WAN' and area_e = 'HKG' ORDER BY STREET_SEQ;
>
>
Hello Johny,
this statement might be improved a lot from the following:
select distinct
street_h
, STREET_SEQ
from building
where district_e = 'CHAI WAN'
and area_e = 'HKG'
group by bldg_h
, estate_h
, street_h
, district_e
, area_e
, STREET_SEQ
ORDER BY STREET_SEQ;
Kind Regards,
Herman de Boer
sr consultant
IT Consultancy Group bv
next prev parent reply other threads:[~2002-08-15 7:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-15 7:20 Oracle - Out of process memory Johnny Yeung
2002-08-15 7:40 ` Peter van Rijn
2002-08-15 7:58 ` Herman de Boer [this message]
2002-08-15 10:53 ` Steve Ashmore
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox