0
如何將第一個查詢的結果與第二個查詢合併,其中Z_EMP_YAN
表和Z_OPRDEFN
表的EMPLID
列匹配?將2個查詢合併到1個查詢中
select b.OPRID
from Z_EMP_BENFT a, PSOPRDEFN b
WHERE a.EMPLID = b.EMPLID
AND A.Z_PEND_COVER = 'Y'
AND OPRID LIKE 'ZZ%'
select EMPLID from z_emp_yan where z_yan_action_id = 1