Friends,
When I use this Query I get Duplicate Records even though I have used the
"Distinct" keyword.
Does Distinct key word work in Joins?
Any Help would be Appreciated.
SELECT -- Regards,
Distinct(dbo.QORAccounts.ID),dbo.QORAccounts.CompleteDate,dbo.QORAccounts.C
mpany,dbo.QORAccounts.ContactID,dbo.QORAccounts.ExecID,dbo.QORAccounts.Stat
s,dbo.QORAccounts.RegistrationType, dbo.QORAccounts.Suspend,
dbo.QORAccounts.DateAdded, dbo.Organizations.Registered,
dbo.Organizations.DateRegistered FROM dbo.QORAccounts LEFT JOIN
dbo.Organizations ON dbo.QORAccounts.ContactID =
dbo.Organizations.ContactMemberID where
dbo.QORAccounts.RegistrationType<>'OA' And dbo.QORAccounts.ContentControlID
= 209 Order By dbo.Organizations.DateRegistered asc;
Santosh