G
Guest
I have a table similar to the following:-
Cust, Product, Date, Price
================
CustA, ProdA, 3/1/2005, 1.20
CustA, ProdA, 3/2/2005, 1.25
CustA, ProdB, 3/3/2005, 2.00
CustA, ProdB, 3/5/2005, 2.10
CustA, ProdB, 3/4/2005, 2.20
How do I create a query that retrieve only the latest pricing of a product
for a specific customer?
The result of the query should returns:-
CustA, ProdA, 3/2/2005, 1.25
CustA, ProdB, 3/5/2005, 2.10
Can anybody help?
Thank You,
mfwoo
Cust, Product, Date, Price
================
CustA, ProdA, 3/1/2005, 1.20
CustA, ProdA, 3/2/2005, 1.25
CustA, ProdB, 3/3/2005, 2.00
CustA, ProdB, 3/5/2005, 2.10
CustA, ProdB, 3/4/2005, 2.20
How do I create a query that retrieve only the latest pricing of a product
for a specific customer?
The result of the query should returns:-
CustA, ProdA, 3/2/2005, 1.25
CustA, ProdB, 3/5/2005, 2.10
Can anybody help?
Thank You,
mfwoo