If that's your SQL data, then it's a poor data design, and your should consider changing it.
This is the least of the problems you will have with this design, and it's
still complex to work round!
See here:
Converting comma separated data in a column to rows for selection[
^] and you'll get an idea why it's complicated.
A "single value per row" solution is much easier to work with.