在MSSQL 中多表查询可以简单实现根据table1表中的值在table2取出该值的信息
请问这种功能怎么在mysql 中怎么写呢MSSQL
create table table1(prodname varchar(100))
insert into table1 values('我')
insert into table1 values('他')create table table2(prodname varchar(100))
insert into table2 values('我')
insert into table2 values('我的')
insert into table2 values('我们')
insert into table2 values('我好')
insert into table2 values('不是我')
insert into table2 values('你')
insert into table2 values('你的')
insert into table2 values('他的')select b.* from table1 a,table2 b
where b.prodname like '%'+a.prodname+'%'mssql 查询结果:

我的
我们
我好
不是我
他的怎样在mysql 中实现一样的功能?请赐教呀