I have a table containing items and their prices. I need to run a SELECT Query which can return the last 5 prices for each item.
My Query is:
SELECT item, podate, price
FROM PurchaseOrders
GROUP BY item, podate, price
ORDER BY item, podate DESC, price
Let's say my Item A001 returned 12...