August 25, 2005 at 10:00 pm
August 25, 2005 at 11:04 pm
Try:
select a.AccountID, a.AccountName, b.Duplicated
From Account a
inner join (
select accountname, count(*) as duplicated
from account group by accountname
having count(*) > 1) b on a.accountname = b.accountname
August 26, 2005 at 12:39 am
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply