Back
How do I do this?
For example, if my column is "cats, dogs, birds" and I want to get any rows where a column contains cats?
Try using LIKE this way:
SELECT * FROM TABLE WHERE column LIKE '%cats%' --case-insensitive
SELECT *
FROM TABLE
WHERE column LIKE '%cats%' --case-insensitive
31k questions
32.8k answers
501 comments
693 users