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

Popular posts from this blog

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

java - Could not locate OpenAL library -

sorting - opencl Bitonic sort with 64 bits keys -