I have a employee draw type application, the tables look like:
Employee (ID, name, selectionCount)
Selections (employeeID, ipAddress)
Now I need an update query that will count the number of selections for each employeeID (with unique IPaddresses), and update the selectionCount column in the table Employee.
Something like this should work:
Did not test it so the syntax may not be completely correct.