I would like you to help me with a query that can split string of words into groups of two.
For example in a column i have 10 names, and these are of 5 people. They are separated by a space. So i would like an sql query that would split these names with a comma. Every after the second
[name1 name2 name3 name4 name5 name6,name7 name8 name9 name10]
output should be ==>name1 name2, name3 name4, name5 name6,name7 name8, name9 name10
For example in a column i have 10 names, and these are of 5 people. They are separated by a space. So i would like an sql query that would split these names with a comma. Every after the second
[name1 name2 name3 name4 name5 name6,name7 name8 name9 name10]
output should be ==>name1 name2, name3 name4, name5 name6,name7 name8, name9 name10