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

Home -> Community -> Usenet -> c.d.o.server -> How to get Top N records per client?

How to get Top N records per client?

From: Carlos Gevido <carlosg_at_rs2.com.mt>
Date: Wed, 22 Dec 1999 11:45:06 +0100
Message-ID: <83qdif$mt$1@news.maltanet.net>

I have this situation where I wanted to get the Top 5 sales,based on the quatity, of a client. I supposed there is really no function or command to do this quickly in SQL.

Anybody might know a methodology in SQL on how to do this. If it's possible I wanted the result to be returned as one record.

Your help would greatly be appreciated.

Thank you very much.

Carlos Gevido Received on Wed Dec 22 1999 - 04:45:06 CST

Original text of this message

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