Check out example codes for "sql where contains part of string". It will help you in understanding the concepts better.

Code Example 1

-- To find an exact string
SELECT * FROM [table] WHERE [field] LIKE '%stringtosearchfor%'.

Learn ReactJs, React Native from akashmittal.com