0
I have a price list and an item table, at more than a price for each item and need to pick only the one with lower value.
SELECT `nameItem`,`descItem`,`valuePrice`,`datePrice` FROM item, price WHERE item.idItem = price.fk_idItem
This darling returns them all.
Hi hi, put it on Sqlfiddle your example of tables and then yes, you will have better help. However, a tip, you have here the mysql MIN() function documentation. This may be an option, there are several.
– Ernesto Casanova