I have a table that has the data as below where the combination of LINENUM and RCPTNUM should be unique for each PONUM and SITE.
PONUM LINENUM RCPTNUM SITE
1000 1 1 XXX
1000 1 2 XXX
1000 1 3 XXX
1000 2 1 XXX
1000 2 1 XXX
1001 1 1 XXX
1001 1 1 XXX
The output should show the list of duplicate combination
PONUM LINENUM RCPTNUM SITE
1000 2 1 XXXX
1001 1 1 XXXX