Hi
I have some DB2 tables where the primary key is usually unique, but can
be duplicate.
I want to find the duplicates only.
For example, suppose the primary key has these values:
21
28
30
30
34
40
52
52
I want to know about 30 and 52 only.
Can I do this with a clever SQL statement?
TIA
I have some DB2 tables where the primary key is usually unique, but can
be duplicate.
I want to find the duplicates only.
For example, suppose the primary key has these values:
21
28
30
30
34
40
52
52
I want to know about 30 and 52 only.
Can I do this with a clever SQL statement?
TIA
Comment