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 |
How to load time dimension?
Any one can tell me how to explain puss-down optimization ? explain me with example plz?
Mention some types of transformation?
I have done MBA in 2008. i got job as business analyst in 2008 january through consultany. but after 3 months they are giving training Informatica developer. now iam continuing this job. my question is when iam going to interview HR people ask me many times like this " YOU ARE MBA GRADUATE. HOW YOU ARE SELECT THIS POSTION. IAM EXPLAINING WHAT I HAVE MENTION ABOVE". PLEASE TELL HOW IAM TELLING THIS QUESTION ANSWER.
what is dimension table?
how eliminate the duplicates in flat file with out using sorter ,aggregater
What is the Router transformation?
What is the function of aggregator transformation?
Differentiate between joiner and lookup transformation?
Design a mapping to get the pervious row salary for the current row. If there is no pervious row exists for the current row, then the pervious row salary should be displayed as null.
How we can use union transformation?
What is sorter transformation?