Re: Setting maximum rows to be selected
From: Michael Sallwasser <msallwas_at_world.nad.northrop.com>
Date: Tue, 16 Aug 1994 18:51:41 GMT
Message-ID: <Cun5q5.Lo8_at_gremlin.nrtc.northrop.com>
Date: Tue, 16 Aug 1994 18:51:41 GMT
Message-ID: <Cun5q5.Lo8_at_gremlin.nrtc.northrop.com>
In article <12a.4156.905_at_compudata.com> barry.roomberg_at_compudata.com (Barry Roomberg) writes:
>-> display the top 20 orders based on the revenue field (which is
>-> derived from a group sum expression).
>
>Check into the "having" clause.
My knowledge is imperfect on this; however, I know of no method, with a SQL statement to acheive what you require. (HAVING ain't gonna do it.) I have read that Oracle is considering adding that functionality. Whether that was a dream or will actually come to pass, I cannot say.
-- ============================================================================ Michael Sallwasser | Down one path is utter dispair and hopelessness. Down Northrop Grumman | the other is total destruction. Let us choose wisely.Received on Tue Aug 16 1994 - 20:51:41 CEST