there is no native function to do it, but you can achieve your aim using following trick
WHERE CONCAT(",", `setcolumn`, ",") REGEXP ",(val1|val2|val3),"
More Related Contents:
- Implementation of Levenshtein distance for mysql/fuzzy search?
- MySQL search and replace some text in a field
- Search for string within text column in MySQL
- Search all columns of a table using a single where condition with single keyword in mysql
- How can I manipulate MySQL fulltext search relevance to make one field more ‘valuable’ than another?
- SQL search multiple values in same field
- Accent insensitive search query in MySQL
- Laravel – search with multiple keywords against multiple columns with the search result to be ordered in relevance
- How to allow fulltext searching with hyphens in the search query
- MySQL Error #1071 – Specified key was too long; max key length is 767 bytes
- multiple query same table but in different columns mysql
- How can I make SQL case sensitive string comparison on MySQL?
- Import data in MySQL from a CSV file using LOAD DATA INFILE
- How to do a batch insert in MySQL
- Get current AUTO_INCREMENT value for any table
- Insert auto increment primary key to existing table
- Connect to mysql on Amazon EC2 from a remote server
- What is the location of mysql client “.my.cnf” in XAMPP for Windows?
- How to generate data in MySQL?
- MySQL error 1241: Operand should contain 1 column(s)
- MySQL – Supertype/Subtype design
- Case Sensitive collation in MySQL
- Mysql: Order by like?
- Getting first day of the week in MySql using Week No
- Can’t import database through phpmyadmin file size too large
- How to change MySQL column definition?
- MySQL : how to remove double or more spaces from a string?
- is php sort better than mysql “order by”?
- Mysql returning clause equivalent
- Mysql stored procedure don’t take table name as parameter