select * from product where name like '%[_]%'
或者
select * from product where name like '%\_%' escape '\'
这样写应该就可以了啊
什么数据库?sqlserver、mysql还是oracle?
select * from product where name like '%%%' escape '/';
select * from t where x like '%\_%' escape '\';