i have a table
col1
10
20
30
40
10
20
50
my requirement is how to retrive only duplicates like
10
10
20
20
like this how it's possible in SQL?
Answer Posted / sivakrishna
select * from emp as p where rowid<(select max(rowid) from
emp s where p.deptno=s.deptno);
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
what are the devoleper roles in real time? plz tell i am new to datastage....
What are the components of ascential data stage?
What are the different types of lookups in datastage?
Is the value of staging variable stored temporarily or permanently?
Explain ibm infosphere information server and highlight its main features?
Can anyone tell me a difficult situation who have handled while creating Datastage jobs?
AGGREGATOR default datatype
What are orabulk and bcp stages?
What are the processing stages?
What are the job parameters?
Differentiate between hash file and sequential file?
Why we use surrogate key?
Enlist various types of routines in datastage.
What are the functionalities of link partitioner and link collector?
What is use Array size in datastage