G
Guest
To return a minimal price of a bottle of vodka stored in field "price" I
can call MIN function .
However this price ignores the size of the bottle.
Bottle types and sizes are stored in a different table called "Bottles"
Suppose I wanted to get a product with the minimal price per litre.
Obviously I have to multiply the bottle price by the bottle size.
Can I do it in one query which will fetch the minimal per/liter price?
can call MIN function .
However this price ignores the size of the bottle.
Bottle types and sizes are stored in a different table called "Bottles"
Suppose I wanted to get a product with the minimal price per litre.
Obviously I have to multiply the bottle price by the bottle size.
Can I do it in one query which will fetch the minimal per/liter price?