I have a SQL table with multiple columns and records. What i want is to count how many commas in the specific column (FROM) then place the counted comma in the next (ANSWER) column.
Sample
ID FROM ANSWER NAME STATUS LINE
1 aaa,bbb,ccc,DDD 4 OK
2 ccc,dd,cd,ab,cs 5 OK
I Hope someone can help me with this.