I tried this SQL in a VB app and I get an expected 1 error. Where is the error in this SQL. (What I want to do is only return employees if they have reportrequests.)
SELECT Employees.ID, Employees.FirstName,
Employees.LastName, Employees.Department,
COUNT(ReportRequests.ID) AS Ctr
FROM Employees, ReportRequests
WHERE Employees.ID = ReportRequests.EmpID AND (Ctr > 0)
GROUP BY Employees.ID, Employees.FirstName,
Employees.LastName, Employees.Department