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 can yoU improve session performance in aggregator transformation?
hi i want to install latest informatica software in my pc..can anybody help me where should i get the infomatica software..plz help me
What are the different components of powercenter?
IN A MAPPING WHEN WE USE AGGRIGATER TRANSFORMATION WE WILL USE GROUP BY PORT. IF GROUPBY IS NOT SELECTED BY DEFAULT IT WILL TAKE ONLY THE LAST COLUMN WHY????
if the session continuous run what can we do. means shall we stop the session or abort session. what is the correct reasion. why this situation occurs
What is a unit Testing?
How do you implement unconn. Stored proc. In a mapping?
If the source has duplicate records as id and name columns, values: 1 a, 1 b, 1 c, 2 a, 2 b, the target should be loaded as 1 a+b+c or 1 a||b||c, what transformations should be used for this?
What is dimensional table? Explain the different dimensions.
if i have records like these (source table) rowid name 10001 gdgfj 10002 dkdfh 10003 fjfgdhgjk 10001 gfhgdgh 10002 hjkdghkfh the target table should be like these by using expression tranformation. (Target table) rowid name 10001 gdgfj 10002 dkdfh 10003 fjfgdhgjk xx001 gfhgdgh xx002 hjkdghkfh (that means duplicated records should contain XX in there rowid)
What is meant by query override?
write a query for how to eliminate the duplicate rows without using distinct?