0
我有一個表像這樣:MySQL的合併單元格,其中行復制
Name | Note |
--------------------------------------
John Doe | Smells like cheese |
Kelly Smith | Smells like ham |
Richmond White | Smells like apples |
John Doe | Sounds like trumpet |
Kelly Smith | sounds like tuba |
,我發現我的答案的一部分,在這裏:delete duplicated row and merge cell value mysql,但只返回數據的第二列中第一次出現。我需要拼接它像這樣:
Name | Note |
--------------------------------------
John Doe | Smells like cheese |
| Sounds like trumpet |
--------------------------------------
Kelly Smith | Smells like apples |
| Sounds like Tuba |
--------------------------------------
Furthemore,我想保持換行符在「註釋」列。
在此先感謝您的任何見解!
做謝謝你的解釋! SEPERATOR子句很棒,因爲我想編輯插件輸出的數據,而不影響插件代碼本身。 – psorensen
非常歡迎。祝你好運 :) – peterm