select equiplabel
from equipment e
left join station s on e.stationcode = s.stationcode
where s.x_syslevel = 'ZY110502'
---------------------------------------------------------------
select equiplabel
from equipment
where stationcode in
(select stationcode from station where x_syslevel = 'ZY110502')
这述两种语句,查询结构是一样的,如果数据量比较大的话,应该是第一种比较有效率吧?