SELECT * FROM table WHERE column LIKE '%whatever%' AND id='1' OR id='2' OR id='3'
When using the code above, I get back three rows and not the one with
column LIKE '%whatever%'
I find it strange, and can not understand why.
How could I rewrite my sql code to use LIKE to check in sevral rows that have id='whatever'
I use MYSQL and MyISAM