Hi Everyone,
I'm trying to create a rank query from access to rank the lowest cost as shown below. Below are all the fields in my table and I am ranking them based on ORG STATE and DEST PROV. The example below is two transportation carriers going to two different origin/destination (CA to AB and CA to ON). I need to rank the lowest cost based on these pairings. I would appreciate if someone can provide me the sql query for this. Thanks in advance
<colgroup><col><col><col><col><col><col></colgroup><tbody>
</tbody>
I'm trying to create a rank query from access to rank the lowest cost as shown below. Below are all the fields in my table and I am ranking them based on ORG STATE and DEST PROV. The example below is two transportation carriers going to two different origin/destination (CA to AB and CA to ON). I need to rank the lowest cost based on these pairings. I would appreciate if someone can provide me the sql query for this. Thanks in advance
Carrier Name | ORG STATE | DEST PROV | # of shipments | Total Cost | Rank |
Carrier A | CA | AB | 293 | $50,000 | 1 |
Carrier B | CA | AB | 293 | $75,000 | 2 |
Carrier A | CA | ON | 150 | $42,000 | 2 |
Carrier B | CA | ON | 150 | $40,000 | 1 |
<colgroup><col><col><col><col><col><col></colgroup><tbody>
</tbody>