A family of Microsoft relational database management systems designed for ease of use.
I would make two recommendations:
1. With columns of DateTime data type declare the parameters. This avoids the value entered being inadvertently treated as an arithmetical expression, and returning the wrong results.
2. Define the date range as on or later than the start date, and less than the date following the end date. This allows for values on the final day of the range which might contain a non-zero time of day element. Unless you have made specific provision in the table definition to disallow such values you cannot discount the possibility of there being such values in the table.
So, the query would then be:
PARAMETERS [Enter Start Date (MM/DD/YYYY)] DATETIME,
[Enter End Date (MM/DD/YYYY)] DATETIME;
SELECT PrimarySurgeon, COUNT(*) AS CaseCount
FROM UrologyTable
WHERE SurgeryDate >= [Enter Start Date (MM/DD/YYYY)]
AND SurgeryDate < [Enter End Date (MM/DD/YYYY)] + 1
GROUP BY PrimarySurgeon;