So, I've been doing some digging but I can't really find something specific. Let's say I have a table called products with 2 columns: product_name and vendor.
product_name | vendor
Item A | Computer Mania
Item B | Incredible Connection
Item C | Computer Mania
So, now let's say hypothetically I don't remember how to spell computer and I say, okay I remember the name starts with co and ends with er and there is mania afterwards.
How can I build a SELECT query with those conditions in my WHERE? I have no idea how to do it.
Here's what I tried:
SELECT * FROM products WHERE vendor_name LIKE '%co%';
However this returns Incredible Connection as well, which I don't want.