Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
SELECT E.ItemNo, I.ItemDesc, Avg(E.Lane6Avg) AS AvgOfLane6Avg, Avg(E.Lane6Standard) AS AvgLane6Standard
FROM tblEntries E INNER JOIN tblItems I on E.ItemNo = I.ItemNo
WHERE E.EntryDate IN (SELECT TOP 3 E2.EntryDate from tblEntries E2 WHERE E.ItemNo = E2.ItemNo Order by E2.EntryDate DESC)
GROUP BY E.ItemNo, I.ItemDesc;
SELECT E.ItemNo, Avg(E.Lane6Avg) AS AvgOfLane6Avg, Avg(E.Lane6Standard) AS AvgLane6Standard
FROM tblEntries E
WHERE E.EntryDate IN (SELECT TOP 3 E2.EntryDate from tblEntries E2 WHERE E.ItemNo = E2.ItemNo Order by E2.EntryDate DESC)
GROUP BY E.ItemNo;