jamesbeale
New Member
- Joined
- Jan 10, 2018
- Messages
- 2
Hi all,
I have a 2 column table which contains customer names and order values. As customers place more orders, they are added to the table, therefore I have multiple entries for each customer.
Can someone advise on how I can retrieve the customer name and cumulative total for that has the customer that has the highest cumulative value of all orders?
Example below, what I want to return is "Customer A - 900.00"
<tbody>
</tbody>
Thanks.
I have a 2 column table which contains customer names and order values. As customers place more orders, they are added to the table, therefore I have multiple entries for each customer.
Can someone advise on how I can retrieve the customer name and cumulative total for that has the customer that has the highest cumulative value of all orders?
Example below, what I want to return is "Customer A - 900.00"
A | B | |
1 | Customer A | 100.00 |
2 | Customer B | 200.00 |
3 | Customer C | 300.00 |
4 | Customer A | 200.00 |
5 | Customer C | 50.00 |
6 | Customer A | 400.00 |
7 | Customer B | 100.00 |
8 | Customer A | 200.00 |
<tbody>
</tbody>
Thanks.