-1
我有以下MySQL表和記錄: http://sqlfiddle.com/#!9/fb7c68/1MySQL查詢來獲得多列3列
我想打一個查詢,將顯示在3列
product_id, parent_option_id, parent_option_value_id (only if the parent_option_id > 0)
.
.
.
.
product_id, child_option_id, child_option_value_id (only if the child_option_id > 0)
.
.
.
.
product_id, grandchild_option_id, grandchild_option_value_id (only if the grandchild_option_id > 0)