Topic by Hercules Babu
Hello
select count(distinct Emails.Emaillist.AddressType.ID) as Count from contact
The result shows multiple rows:
Count |
---|
1 |
1 |
1 |
I am expecting one row with this result:
Count |
---|
3 |
Please help!
Without the aggregate COUNT the result is good:
select distinct Emails.Emaillist.AddressType.* from contact
ID | Name | LookupName |
---|---|---|
0 | Email - Primary | Email - Primary |
1 | Alternate Email 1 | Alternate Email 1 |
2 | Alternate Email 2 | Alternate Email 2 |
Thanks