Hi Guys!
I have a table that has 47,000,000 records. I need to get the first 1,000 rows in descending last_modified_date order.
I get as far as this:
When I do this, what I get is the first 1,000 rows ordered. Does any of you guys have the correct syntax to get the table sorted and those first 1,000 records of the new order?
Thanks a bunch, guys!
Nunina
IT Manager
San Juan, PR
I have a table that has 47,000,000 records. I need to get the first 1,000 rows in descending last_modified_date order.
I get as far as this:
Code:
select rownum, location_id, last_modified_userid,
last_modified_date from location
where rownum <= 1000
order by last_modified_date desc
When I do this, what I get is the first 1,000 rows ordered. Does any of you guys have the correct syntax to get the table sorted and those first 1,000 records of the new order?
Thanks a bunch, guys!
Nunina
IT Manager
San Juan, PR