I have a varchar column inside a very simple MySQL Database table that contains 2 different types of product references :
one like : 14521_451_288, and the others like 45742154
to be able to manage them, I'm using the following code :
WHERE ref LIKE '%_%'
But all the results are returned, even the references without underscore. Am I missing something basic here?