A table has 150 records. How do you retrieve 100th row to
120th row from that table ?
Answer Posted / srinivas
select * from(select <table_name>.*,rownum rn from <Table_name>) where rn between 100 and 120
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
column A column b | output 10 7 | 10 5 8 | 8 7 -9 | 7 3 5 | 5 0 6 | 6 Write a sql query to print such output.
what are the differences between char and varchar? : Sql dba
what is a composite primary key ? : Sql dba
Explain the difference between rename and alias?
What are sql indexes?
Can a view be mutating? If yes, then how?
How many sql commands are there?
What is the difference between join and natural join?
What is Materialized View? In What Scenario we Use Materialized View?
what is the syntax used for partition in tsql? : Transact sql
what are the authentication modes in sql server? How can it be changed? : Sql dba
What is an alias command?
Is merge a dml statement?
Is sqlite free?
what are the differences between get and post methods in form submitting. Give the case where we can use get and we can use post methods? : Sql dba