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 -> Re: Limit lines from a query

Re: Limit lines from a query

From: Franz-Josef Vorspohl <fj.vorspohl_at_gmx.de>
Date: 2000/03/11
Message-ID: <38CA4961.18CEFABC@gmx.de>#1/1

Hi,

> Hi use
>
> rownum<11

I get a error message, if ein use HAVING rownum < 11in the SQL statement

it is possible to limit the lines from a query like

select a, sum(b) from tab
group by a
order by sum(b) desc

having rownum < 11
down work

any ideas? Received on Sat Mar 11 2000 - 00:00:00 CST

Original text of this message

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