If have following problem. I cannot get values from MySQL when I have them separated with |
I have following string:
SELECT * FROM user WHERE CONCAT(',', category, ',') REGEXP ',(lc_8|swimming),'
and this string only works when in my MySQL I have column category
with value lc_8,swimming,
How I can change string above to get same values but if in column I have lc_8|swimming|
?