Query to fetch 100 distinct rows
From: R197509 <ramsunders_at_yahoo.com>
Date: 4 Oct 2001 21:33:54 -0700
Message-ID: <1e562f83.0110042033.18c488cf_at_posting.google.com>
Date: 4 Oct 2001 21:33:54 -0700
Message-ID: <1e562f83.0110042033.18c488cf_at_posting.google.com>
Hi,
I'm trying to fetch a fixed number of distinct records for a particular column.
select distinct(c1) from X where rownum < 101; This query returns only 60 records.
Can you please advise as to how this query could be best written.
Thanks.
Regards,
Ram.
Received on Fri Oct 05 2001 - 06:33:54 CEST