Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Rank() or Partition by Bug??

Re: Rank() or Partition by Bug??

From: Rene Nyffenegger <rene.nyffenegger_at_gmx.ch>
Date: 6 Jul 2002 08:10:44 GMT
Message-ID: <Xns924367B007B83gnuegischgnueg@130.133.1.4>


> Hi to all,
>
> I want to know if there's a bug in those functions in Oracle 9i
> because when i make the results out after a golf tournament, it
> seems to be a
> problem
> with some golfers whose get a result.
>
> I'm joining my query:
>
> SELECT
> Prenom,
> nom,
> nomclasse,
> ScoreBrut,
> RANK() OVER (Partition By Classesmembres.classeid order by ScoreBrut
> asc)
> as Rang
> FROM inscriptionstournois,
> golfeurs,
> Adherants,
> classesmembres,
> Classes,
> ResultatsTournois
> WHERE (Inscriptionstournois.golfeurid = golfeurs.golfeurid
> AND Adherants.golfeurID = golfeurs.golfeurID
> AND Adherants.MembreID = classesmembres.MembreID
> AND ClassesMembres.ClasseID = Classes.ClasseID
> AND Resultatstournois.golfeurID = Adherants.golfeurID
> AND InscriptionsTournois.Evenementid = 31)
>
> Any helps would be appreciated.
> Thanks in advance.

It's unclear what this query returns and why you think the result is a bug, so it's equally impossible to help you.

Rene

-- 
Recherchen im schweizerischen Handelsregister: 
http://www.adp-gmbh.ch/SwissCompanies/Search.php3
Received on Sat Jul 06 2002 - 03:10:44 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US