A
Alex
Hi,
I have the three columns as follow:
Product Ingredient# Qty
PPP 316 100
PPP 315 70
PPP 317 80
SOS 316 100
SOS 320 60
SOS 315 60
SOS 317 90
I need to get the ingredients that have the max qty among the same
ingredients and for what Product those ingredients are used. If this max
exist for several products it would be nice to have all these products.
In our sample the result would be as follow:
Product Ingredient# Qty
PPP 316 100
SOS 316 100
PPP 315 70
SOS 317 90
SOS 320 60
How could I create this query?
Thanks,
Alex
I have the three columns as follow:
Product Ingredient# Qty
PPP 316 100
PPP 315 70
PPP 317 80
SOS 316 100
SOS 320 60
SOS 315 60
SOS 317 90
I need to get the ingredients that have the max qty among the same
ingredients and for what Product those ingredients are used. If this max
exist for several products it would be nice to have all these products.
In our sample the result would be as follow:
Product Ingredient# Qty
PPP 316 100
SOS 316 100
PPP 315 70
SOS 317 90
SOS 320 60
How could I create this query?
Thanks,
Alex