因此,我有一个从子查询返回的值的列表,并希望从另一个表中选择与该子查询的值匹配的所有值。有没有最好的解决方法?
到目前为止,我已经尝试过:
select * from table where tableid = select * from table1 where tableid like '%this%'
select * from table where tableid in(select tableid
from table1
where tableid like '%this%')
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句