Can Mysql Split a column?

前端 未结 7 1527
别那么骄傲
别那么骄傲 2020-11-22 03:00

I have a column that has comma separated data:

1,2,3
3,2,1
4,5,6
5,5,5

I\'m trying to run a search that would query each value of the CSV s

7条回答
  •  不知归路
    2020-11-22 03:04

    You may get what you want by using the MySQL REGEXP or LIKE.

    See the MySQL Docs on Pattern Matching

提交回复
热议问题