Can Mysql Split a column?

前端 未结 7 1524
别那么骄傲
别那么骄傲 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:29

    As an addendum to this, I've strings of the form: Some words 303

    where I'd like to split off the numerical part from the tail of the string. This seems to point to a possible solution:

    http://lists.mysql.com/mysql/222421

    The problem however, is that you only get the answer "yes, it matches", and not the start index of the regexp match.

提交回复
热议问题