select acct_no,name from TRANSACT where (acct_no,name) in
(select acct_no,name from(select distinct acct_no,name from TRANSACT)
group by acct_no,name having count(*)>1);
Select
A.*
From
(Select distinct acct_no, name From Transact) A,
(Select distinct acct_no, name From Transact) B
Where
A.acct_no = B.acct_no And
A.name <> B.name
;
Abhay.
funky...
"I Dont Want To Follow A Path, I would Rather Go Where There Is No Path And Leave A Trail."
"Ego is the worst thing many have, try to overcome it & you will be the best, if not good, person on this earth"
Bookmarks