Alfredo V. answered 07/07/22
knowledgeable of programing languages
Since I don't have all the table names listed, I will assume all the data is in the same table called: Sales.
If you have a column that has a total number for each sale you can use the SUM(ColumnName) to add up all the sales per employee. I used the count function since this will count the rows for each employee ID when it separates them using the Group by clause.
Select employeeid, lastname, firstname, Count(*) AS SalesPerEmployee
From Sales
Group by employeeid, lastname, firstname
Order by employeeid