SQL语句--查询结果作为条件与另一张表进行条件查询

select * from 表2 where 编号 in (select 编号 from 表1 where 什么='什么')

原文地址:https://www.cnblogs.com/danznb/p/3621514.html