this is my table currently.

Employees will have multiple order dates and shipped dates. What I want to get is the average of each employee’s Diff sum.
Been struggling with how to achieve this.
This is what I have done so far.
USE Northwind
SELECT
e.EmployeeID,
e.LastName,
o.OrderDate,
o.ShippedDate,
DATEDIFF(DAY, o.OrderDate, o.ShippedDate) as Diff
FROM
Employees as e
JOIN Orders as o ON e.EmployeeID = o.EmployeeID
If you want more than the
EmployeeIdin the result set, join back like so: