Link to home
Start Free TrialLog in
Avatar of al4629740
al4629740Flag for United States of America

asked on

Is this statement showing distinct ID's

AttendanceGrid has duplicate IDs in the table.

The way I wrote this SQL statement, am I collecting distinct IDs?  If not, how do I do so?

select AttendanceGrid.Committee, count(AttendanceGrid.ID) as NonCoreAsians from AttendanceGrid INNER JOIN frmRegistrationCSW ON AttendanceGrid.[ID]=frmRegistrationCSW.[ID] Where AttendanceGrid.Month IN ('January', 'February','March') And AttendanceGrid.Fiscal = 2013 And frmRegistrationCSWCombo1 = 'Asian' And AttendanceGrid.Total > 0  group by AttendanceGrid.Committee

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of dsacker
dsacker
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial