with t_tree as (select CountryRegionCode from person.CountryRegion ) select * from person.StateProvince where CountryRegionCode in (select * from t_tree) 为什么不用表连接进行查询呢 用in 严重影响查询效率 select * from c.* from person.StateProvince s,person.CountryRegion c where s.CountryRegionCode=c.CountryRegionCode;