DBAsupport.com Forums - Powered by vBulletin
Results 1 to 10 of 11

Thread: How can I get certain records from a table

Threaded View

  1. #1
    Join Date
    Nov 2000
    Posts
    198

    How can I get certain records from a table

    how can I write a query to get records from n to m.
    example

    SELECT column_a
    FROM table_name
    WHERE rownum BETWEEN 10 and 20;
    order by column_a

    I am trying to get records between 10 and 20 only.

    but the ROWNUM DOESN'T WORK IN THIS CASE.

    hope this makes it more clear.


    Thanks
    Last edited by ocpdude; 12-03-2004 at 12:16 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width