Hello,
I have searched and still can't quite get my query to work correctly. I need to assign a ranking in an Access query. I have a table with the following fields:
Key - (represents a name for a manufacturing location)
Rate - (represents a cost to move product from this location)
Tier - (This is where I hope the rank to be)
The Key will have multiple rates, for example:
Key......Rate......Tier
CA05US8Z.....500....1
CA05US8Z.....600.....2
CA05US8Z.....700.....3
CA05US8Z.....800.....4
I want to write a query that will rank the data (which would be saved in the Tier field).
So if I add a filed to the table that is:
Key.....Rate
CA05US8Z.....550
I would want that to bump the other Tier ranks down when I run the query.
Does anyone know how the SQL would look to write this query?
Thanks,