I am trying to fetch data , which has the description keyword at the start or in the middle or at the end.
Following is my query
like '%" + description + "' or '" + description + "%' or '%" + description + "%'
Problem is it is returning irrelevant data.
E.g if i have given ‘as’ in description then it also choses ‘cake’ in result.
Description
------------------------------------------------------------
asd
asdasd
cake
Naw
Tast
ad
You can only write
With this you can retrieve data that you want because it take data that start, string in the middle and finish with that string without using or statement.