I'm trying to write a query that counts distinct PracticeMgr. Please see result below.
Current State
PracticeMgr RptIncentiveKey strDepartmentNumber
Ann Marie Lahaie IG34 30604
Ann Marie Lahaie IG34 30608
Ann Marie Lahaie IG34 30610
Ann Marie Lahaie IG34 30611
Ann Marie Lahaie IG34 30615
Ann Marie Lahaie IG34 30619
Lillian Sonnenberg IG34 30609
Result
PracticeMgr RptIncentiveKey
1 IG34
Current State
PracticeMgr RptIncentiveKey strDepartmentNumber
Ann Marie Lahaie IG34 30604
Ann Marie Lahaie IG34 30608
Ann Marie Lahaie IG34 30610
Ann Marie Lahaie IG34 30611
Ann Marie Lahaie IG34 30615
Ann Marie Lahaie IG34 30619
Lillian Sonnenberg IG34 30609
Result
PracticeMgr RptIncentiveKey
1 IG34