Answers for "how to use like and or together in sql"

SQL
4

sql where value like a or b

-- example
SELECT Id, ProductName, UnitPrice, Package
  FROM Product
 WHERE ProductName LIKE 'Cha_' OR ProductName LIKE 'Chan_'
Posted by: Guest on April-01-2020
0

like and not like together in sql

SELECT TOP (15)* 
FROM [Users] 
WHERE [codename] LIKE '%Luis%'
AND [codename] NOT LIKE '%[LP]%'
Posted by: Guest on April-22-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language