I am working on a ranking Items in a query and I am stuck when I need to take more fields into account for the rank.
Currently I have a query that ranks [Location] by the [Date] they were entered for each [Item]. We have multiple locations for each item so the earliest date gets ranked 1 for each [Item]
The SQL below works pretty well so far:
Code:
SELECT a.Company, a.Item,
Leave a comment: