比方說,我有一個表是這樣的:使用MySQL如何創建一組字符串中的所有單詞列表?
| RowID | LongString |
----------------------------------------
| 1 | This is a really long string |
| 2 | This is a shorter string |
我怎樣才能獲得的所有行使用不同的單詞的列表,如下面:
| Result: |
-----------
| This |
| is |
| a |
| really |
| long |
| string |
| shorter |
是否有一個合理的限度,以每一句話多少?的 – Bohemian
可能重複[多個文本值一列,需要查詢,以找到最重複的詞(http://stackoverflow.com/questions/19392810/multiple-text-values-in-one-column-need-the - 查詢找到的最大多數重複的-W) – Bohemian
http://blog.fedecarg.com/2009/02/22/mysql-split-string-function/ – Mihai