Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我如何编写一个 mySQL 查询,其中我正在使用 LIKE 运算符查找某些内容,而不是等于什么是 LIKE?
select * from ets_fi where name like '%barcode&' <> '%barcode%';
不喜欢
select * from ets_fi where name NOT LIKE '%barcode%';
或者,如果我误解了您的意图,您可能想要:
select * from ets_fi where name LIKE '%barcode%' AND name != 'barcode';