how will u get 1 and 3rd and 5th records in table what is
the query in oracle please help me
Answers were Sorted based on User's Feedback
Answer / sandipana
select rownum as rank,emp_id,sal from(select
lastname,salary from employees orderby salary desc)
where rownum IN(1,3,5);
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / priyank
select * from (select rownum rn,emp.* from emp) where mod
(rn,2)=1;
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / millar
ie.
select column from table_name where mod(primary_key_column,2)=1;
select employee_id from employees where mod(employee_id,2)=1
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / jhansi
It displays odd rows
select * from emp where (rowid,0) in(select rowid,mod
(rownum,2) from emp);
Is This Answer Correct ? | 0 Yes | 2 No |
Answer / udaya
SELECT * FROM TABLE_NAME WHERE ROWNUM=1 AND ROWNUM=3 AND
ROENUM=5
Is This Answer Correct ? | 5 Yes | 32 No |
Is stop and abort are same in informatica?
what is incremental loading ?
12 Answers CTS, IBM, Oracle, TCS,
Difference between task flow and linear task flow
How could we generate the sequence of key values without using sequence generator transformation in the target ??
12 Answers TCS, Tech Mahindra,
How many input parameters can exist in an unconnected lookup?
What are the differences between source qualifier and joiner transformation?
what are cost based and rule based approaches and what is the difference?
What is galaxy shema
Explain how to import oracle sequence into informatica?
What is power center repository?
Can you generate reports in Informatcia?
What is synonym?