Example – Sub string is "ab" And if the contents are
abhi
babu
abdullah
Then after running the query I should be getting only the values
abhi
abdullah
Even though value ‘babu‘ contains the sub string ab
Suppose the table name is person and the column name is name
You can use
LIKEoperator like this:If you add
%ahead ofabthenbabuwill also come in result so only add%afterab.