Check out example codes for "sql where value like a or b". It will help you in understanding the concepts better.

Code Example 1

-- example
SELECT Id, ProductName, UnitPrice, Package
  FROM Product
 WHERE ProductName LIKE 'Cha_' OR ProductName LIKE 'Chan_'

Learn ReactJs, React Native from akashmittal.com