Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Stefanie Vario — — source: Informix-list mailing list archive (1991-1998)
rfurdzik@paulweiss.com wrote:
>
> How to display only first 100 rows from a query ??? Please help
>
> Select a, sum(b)
> group by a DESC>
If you're using version 7.30 you can use the "first n" clause in the
select statement. Example:
select first 100 a, sum(b)
from xxx
group by a desc
Stefanie Vario
ZenaComp Incorporated
svario@zenacomp.com
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.