/ Published in: MySQL
For example: searchvalue = 3, columnvalue = 1,2,3,4,5,6
Expand |
Embed | Plain Text
SELECT * FROM table_name WHERE FIND_IN_SET(search_value, column_name)
You need to login to post a comment.
For example: searchvalue = 3, columnvalue = 1,2,3,4,5,6
SELECT * FROM table_name WHERE FIND_IN_SET(search_value, column_name)
You need to login to post a comment.