Can Mysql Split a column?

前端 未结 7 1521
别那么骄傲
别那么骄傲 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.

    0 讨论(0)
提交回复
热议问题