top ten list
Posted in 2000
Topics: General Discussion
r_hao — — source: Informix-list mailing list archive (1991-1998)
Hi, everyone; What is the best way to select top ten best customer without bother the cursor? TIA Randy
↪ replying to r_hao
Armin =?iso-8859-1?Q?H=F6nig?= — — source: Informix-list mailing list archive (1991-1998)
SELECT FIRST 10 <columns>
FROM <table>
WHERE <where-clause>
ORDER BY <columns>
ORDER BY is important to get the top ten and NOT only the first 10 rows of
the table !
CIAO Armin ;-)
r_hao schrieb:
> Hi, everyone;
>
> What is the best way to select top ten best customer without bother the
> cursor?
>
> TIA
> Randy