top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Can one only retreive rows X to Y from a table?

+1 vote
387 views
Can one only retreive rows X to Y from a table?
posted Nov 18, 2014 by Archana

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

SELECT *
(SELECT Rownum rn, tab1.*
FROM tab1)
WHERE rn between lower_value and Upper_value;

Tab1 will be the name of the table and lower_value will be the Lower bound and upper_bound will be the Upper bound value .

answer Nov 19, 2014 by Arun Gowda
Similar Questions
+2 votes

Its a very basic question but it would be good if anyone can answer with some explanations. When we type select * from dba_users; in sql plus it will show N rows selected and total records whereas when we type select * from employee it would show only records but not the total count.

...