SELECT
Employees.EmployeeID,
SUM( ( [Order Details].UnitPrice * [Order Details].Quantity ) * (1.0 - [Order Details].Discount))[Para]
from Orders
JOIN Employees ON Orders.EmployeeID = Employees.EmployeeID
JOIN [Order Details] ON Orders.OrderID = [Order Details].OrderID
GROUP BY Employees.EmployeeID
ORDER BY Para
SELECT
COUNT(Employees.EmployeeID)[Say],
FirstName,
LastName,
Employees.EmployeeID
from Employees
JOIN Orders ON Employees.EmployeeID = Orders.EmployeeID
GROUP BY Employees.EmployeeID, FirstName, LastName
ORDER BY [Say] DESC