79132256

Date: 2024-10-28 06:30:44
Score: 0.5
Natty:
Report link

SQL Like Operator can be used with OR Operator.

SELECT product_id 
FROM `product` 
WHERE
     product_id <> ''
     AND (lower(manufacturer) LIKE '%ACME%') OR (lower(manufacturer) LIKE '%DemoCO%');
     AND (lower(product_name) LIKE '%Anvil%') OR (lower(product_name) LIKE '%Dynamite%');
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Bending Rodriguez