I have below table :
id productname model price color size
1 mouse m220 50 red 50
2 keyboard k520 50 red 50
3 mouse mouse220 50 red 50
4 pendive p220 50 red 50
5 laptopfan m220 50 red 50
Now when i search for mouse m220
then it will find all product in productname
and model
fields.
Now suppose i am searching for mouse m220
then it will give me following output:
id productname model price color size
1 mouse m220 50 red 50
3 mouse mouse220 50 red 50
5 laptopfan m220 50 red 50
Now if suppose i am searching mouse
then it will give me following output:
id productname model price color size
1 mouse m220 50 red 50
3 mouse mouse220 50 red 50
SO how can i get this output?