Select value from single value from multiplie vlaue column in mysql -
for example table: datauser
plans -------- 109,1009,178
select rows datauser plans = 109 .
used query. please try query:-
select * datauser plans "109" or plans "109,%" or plans "%,109" or plans "%,109,%"
which means there can 4 conditions in column:
plans column has '109' in it, or ',109,' in or '109,' in it, or ',109' in it.
Comments
Post a Comment