database / sql newbie here.
I have a table with a column called, for example, "EmployeeID". I want the query, for each individual employeeID, to return the number of rows that have this as their identifier. I hope that it is clear what I am trying to do, and someone will know how to help!
I do not think this should matter, but just in case I use MS SQL Server 2008.
source
share