Seemingly simple MySQL question, but I\'ve never had to do this before..
I have two tables, items and prices, with a one-to-many relationship.
Items
Ok, how about?
SELECT items.id, items.name, MIN(prices.price), prices.id FROM items LEFT JOIN prices ON items.id = prices.item_id GROUP BY items.id, MIN(prices.price)