MySQL results are returning duplicate products from a "Product" table because multiple items have the same "image.id_node" value under an "Images" table. Any way I can edit this so it only returns one product per corresponding 'image.id_node'? Preferably by finding the one with the highest ID value?
"SELECT * 
  FROM `product` 
    left join image 
      on product.id_node = image.id_node 
  WHERE `product_publish` = 1 
    AND image.main = 1 
    AND `product_type_item`=$type_item 
    AND product_status = 1 
  order by product_position ASC;"
 
    