A table has 150 records. How do you retrieve 100th row to
120th row from that table ?
Answer Posted / bhargav
SELECT * FROM
(
SELECT Row_Number() OVER (ORDER BY emp_id, emp_name) as
emp_name
FROM employees
) as a
where rowid >100 AND rowid<121
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is set serveroutput on?
Explain 3 basic parts of a trigger.
what are the advantages and disadvantages of views in a database? : Sql dba
Does google use sql?
How does a trigger work?
What types of commands can be executed in sql*plus?
What trigger means?
What is primary and foreign key?
How do I order by ascending in sql?
Can there be more than one function with a similar name in a pl/sql block?
How do you bind variables in pl sql?
what's the difference between a primary key and a unique key? : Sql dba
What is difference between hql and native sql?
How do I create a memory optimized filegroup?
how can I make a script that can be bi-language (supports english, german)? : Sql dba