Remove duplicate words from field in mysql

后端 未结 6 525
囚心锁ツ
囚心锁ツ 2021-01-21 03:02

I am wondering if it is possible to remove duplicate text using a mysql query from one field, or if a problem like this would be better solved using PHP.

I have a databa

6条回答
  •  醉话见心
    2021-01-21 03:19

    You may consider keeping one entry per tag instead of all tags as a string, so that you could do a select distinct among other things.

提交回复
热议问题