1
LIKE与运营商结合我想要做一些事情是这样的:在MySQL
select * from table1 where name Like in (select name from table2 where id = '%123')
假设
select name from table2 where id = '%123'
结果是:abc123,def123,ghi123,...
而且table1
包含名称字段AB-abc123-CD,CD-def123-HB,...
我该怎么办? S'
是的,它工作完美。 – siri