adspace
suppose we have a table in which 200 rows. i want to find
101 row ? what the query....
and how we find 4th and 5th highest salary and 1 to 10
highest salary
Answer Posted / hemant
select * from emp where (rowid,0) in
(select rowid,mod(rownum,101) from emp)
and rownum=1
| Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
Does group by remove duplicates?
how to start mysql server? : Sql dba
what is collation? : Sql dba
what are aggregate and scalar functions? : Sql dba
Can we rollback truncate?
Is primary key always clustered index?
what are all the common sql function? : Sql dba
what are the advantages of sql ? : Sql dba
What is the current version of sql?
how many tables will create when we create table, what are they? : Sql dba
what is bcp? When does it used? : Sql dba
define sql insert statement ? : Sql dba
Is primary key clustered index?
how to use regular expression in pattern match conditions? : Sql dba
what is dbms? : Sql dba