1
我的桌子。MySql:如何組合特定行?
id Exam Name isCombine 1 Reading 0 2 Writing 0 3 Maths3 1 4 Maths4 1
上表只是一個例子。在實際表格中有更多的列。我想要合併具有合併值1的行並保留其他行。
我期待以下輸出。
id Exam Name isCombine 1 Reading 0 2 Writing 0 3,4 Maths3,Maths4 1,1
我不確定,不管它是否可能。但是,任何幫助或建議將不勝感激。
你是什麼意思結合起來?你是否想要一個能讓你所有行'isCombine'爲'1'的查詢?或者究竟是什麼目的? – phaen