Imagine that I have a foreign-key table like this:
Name ID Price
Mop P1 11.99
Mop P2 9.99
other stuff...........
Now as you can see I have at least two mop products and there's no telling how many products in the table have the same name. I want to however return ONLY ONE of each product with the same name which will be the product with the lowest price for each different product. So in this simple example I want to return the Mop that cost 9.99. How do I go about this?