display records from 5 to 9 using rowid or rownum

Answer Posted / chiru

select * from (select rownum r ,a.* from emp a ) where r between 5 and 9

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which join is like inner join?

557


how to concatenate two character strings? : Sql dba

542


What are the types of triggers in sql?

492


What is cost in sql execution plan?

482


Explain the savepoint statement.

595






What is a field in a database?

566


how to create a new table by selecting rows from another table in mysql? : Sql dba

552


Why do we use joins in sql?

496


Is there a way to automate sql execution from the command-line, batch job or shell script?

550


What is dml statement?

513


Explain the steps needed to create the scheduled job?

551


What is difference between pls_integer and integer?

514


Differentiate between sga and pga.

663


Why do we use sql constraints? Which constraints we can use while creating database in sql?

543


What are triggers and its types?

547