Need a query to get a single value from comma seperated value in database using mysql -
i have these in database
1 2 3 ------------------- 1,2 2,3,4 1,2,3
select 1 table_name
you can use find_in_set
this:
select * tablename find_in_set("value","columnname") > 0
Comments
Post a Comment