S
Souris
SELECT ActivityDate, tblEmployee.first_name,
(Select count(*) from tblDetails
INNER JOIN tblEmployee on tblDetails.Employee_ID = tblEmployee.Employee_ID
where
tblDetails.type = 9 and tblDetails.meetingdate between [Start_date] and
[end_date] ) as MyValue
from tblDetails
INNER JOIN tblEmployee on tblEDDetails.Employee_ID = tblEmployee.Employee_ID
WHERE tblDetails.MeetingDate between [Start_date] and [End_date]
I have above query to get count per every employee from the subquery.
The above sub query gives me the count for all employees.
I beleive that there are some where link is not correct, but I am unable to
figure out.
Your information is great apreciated,
(Select count(*) from tblDetails
INNER JOIN tblEmployee on tblDetails.Employee_ID = tblEmployee.Employee_ID
where
tblDetails.type = 9 and tblDetails.meetingdate between [Start_date] and
[end_date] ) as MyValue
from tblDetails
INNER JOIN tblEmployee on tblEDDetails.Employee_ID = tblEmployee.Employee_ID
WHERE tblDetails.MeetingDate between [Start_date] and [End_date]
I have above query to get count per every employee from the subquery.
The above sub query gives me the count for all employees.
I beleive that there are some where link is not correct, but I am unable to
figure out.
Your information is great apreciated,