I have a table named mm_test like follows:-
id educations 1 3,4,6,8,9
I want to check whether this array contain (4,6). How to check this using mysql query. Mysql 'IN' command is not working for me.
I put the query like this...
select * from mm_test where educations IN (4,6);
But this query returned empty result. Please any one help me.
FIND_IN_SET()andmysqli_num_rows()would work beautifully. Which API are you using to connect with?