merhaba,

SELECT order_product.order_product_id, order_product.order_id, order_product.name, order_product.quantity, order_option.order_product_id, order_option.name, order_option.value
FROM order_product
LEFT OUTER JOIN order_option ON order_product.order_product_id = order_option.order_product_id
WHERE order_product.order_id = '158'

yukarıdaki sorgu aşağıdaki sonuçları listelemektedir.




Benim ise bu sonuçtan şuna ihtiyacım var

X ürünü (name-value)(nane-value)
Y ürünü (name-value)(nane-value)

işin içinden çıkamadım.
yardım lütfen..