You need the FIND_IN_SET
function:
SELECT ... WHERE FIND_IN_SET('1', field)
More Related Contents:
- Complex Count in MySQL
- How can I fix MySQL error #1064?
- Using MySQL with Entity Framework [closed]
- Usage of MySQL’s “IF EXISTS”
- Getting “Lock wait timeout exceeded; try restarting transaction” even though I’m not using a transaction
- Cannot delete or update a parent row: a foreign key constraint fails
- How to reset mysql root password?
- Using union and order by clause in mysql
- Binary Data in MySQL [closed]
- Remove HTML tags from record
- MySQL COUNT DISTINCT
- mysql -> insert into tbl (select from another table) and some default values [duplicate]
- Convert MySQL schema to Github Wiki?
- mysql select from n last rows
- auto increment primary leaving gaps in counting
- Install MySQL on Ubuntu without a password prompt
- Exporting results of a Mysql query to excel?
- Capitalize first letter of each word, in existing table
- ALTER TABLE to add a composite primary key
- MySQL Removing Some Foreign keys
- MySQL – Fetching lowest value
- MySQL – How to select data by string length
- SQL Order By Count
- ColdFusion Parameterizing a Query
- How to select the first row for each group in MySQL?
- How to alias a field or column in MySQL?
- What to do when you need integers larger than 20 digits on mysql?
- How to update JSON data type column in MySQL 5.7.10?
- ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysql.sock’ (2)
- mysql: connection refused when trying to connect to localhost using remote IP