Hi,
I have a view:
CustomerID OrderID ItemCost City
10 13 4500 A
30 17 3700 C
20 25 3457 B
50 19 7000 E
10 21 1900 A
40 32 2345 D
30 67 3457 C
20 89 4568 B
The field 'OrderID' is unique;
Is there a way to list the minimum 'ItemCost' by each 'CustomerId' - and the related 'OrderID' and 'City' ?
Thanks to all the helpful folks!
I have a view:
CustomerID OrderID ItemCost City
10 13 4500 A
30 17 3700 C
20 25 3457 B
50 19 7000 E
10 21 1900 A
40 32 2345 D
30 67 3457 C
20 89 4568 B
The field 'OrderID' is unique;
Is there a way to list the minimum 'ItemCost' by each 'CustomerId' - and the related 'OrderID' and 'City' ?
Thanks to all the helpful folks!