write the sql query to display 5th and 10th row in a table?
Answers were Sorted based on User's Feedback
Answer / lakshmi reddy
select * from(select emp.*,rownum r from emp) where r=5 or r=10
Is This Answer Correct ? | 8 Yes | 1 No |
Answer / kart
select * from (select rownum as rn,aone.* from aone)
where rn in(5,10);
Is This Answer Correct ? | 6 Yes | 0 No |
Answer / gautam ramteke
select *
from(select rt.*,rownum r from (select * from gpr_employee
order by hire_date)rt)
where r in (5,8);
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / harish
select * from emp where rownum<=&n;
if u give 5 insted of 'n' we get 5th record...
Is This Answer Correct ? | 1 Yes | 1 No |
What is Cardinality
Whrer u can save the Report net documentation in our local system?
What are the advantages of cognos?
How many fact tables and dimension tables in your project?
Interval Prompt's Usage? Example for usage in Project
Can you define report item?
how many types of keys are there i.e primary key and foreign key etc..?
wat is bus schema?
Can any one help me about cubes in cognos.How to create the cubes and how to migrate from development to QA and also what is the procedure to refresh teh cubes.
Explain the Difference Between Bursting and Scheduling?
Why do we create shortcuts in framework manager
how can create a report like if the salary>50,000 display balance,if salary<50,000 display green?