best way to do this query
SELECT * FROM `table` WHERE `column` like '%abc% %xcdb%' OR `column` like '%abc% %dfhj%'
Here the first variable remains same but the second one changes for lets say an array of 10 to 20
So a better and faster way to repalce this iterative (column
like)
table design
<table >
<tr>
<td>id</td>
<td>column</td>
<td>other</td>
</tr>
<tr>
<td>1;</td>
<td>fsyd,**abc**,jgd,**xcdb**,sdfr</td>
<td>tom</td>
</tr>
<tr>
<td>2</td>
<td>wer,tyuy,dhjd,dbhd</td>
<td>john</td>
</tr>
<tr>
<td>3;</td>
<td>asy,gtyt,bnhhs,**abc**,bgy,trdcv,**dfhj**</td>
<td>colin</td>
</tr>
<tr>
<td>4</td>
<td>wer,**xcdb**,dhjd,**abc**,dbhd</td>
<td>john</td>
</tr>
</table>
this query gives back the result of id (1 and 3) but not 4 as it checks for the sequence. this is a correct select statement and gives back the result i want but i am only asking for a better way to do this.