Hi,
I am having 2 tables, Both are joined b EmployeeID.
One table has data from CMS in which agent name is repeated more than once based on calls handled for different skills, so for one agent it is possible to have 5-6 entries for 1 day. the second table has number of sales done by each agent and it will have total sales for each agent so only 1 entry per day per agent.
I am trying to create a query so that it will give me total calls and total sales done by an agent.but i am getting incorrect result.
Attaching an example file.