I need help for this problem.
In the MYSQL table, I have a field:
Field : artist_list
Values : 1,5,3,401
I need to find all entries for artist uid 401
I'm doing it
SELECT uid FROM tbl WHERE artist_list IN ('401');
I have all the entries where the artist_list field values ββare set to "401", but if I have 11,401, this query does not match.
Any idea?
(I cannot use the LIKE method for the user, because if the artist has 3 (corresponds to 30, 33, 3333) ...
source
share