select em.emp_id, em.first_name
from emp_master em left join passport_details pd
on pd.emp_id = em.emp_id and pd.status = 1
where pd.emp_id is null
Jag har ingen 3.23-instans att testa med, men det här borde fungera.
select em.emp_id, em.first_name
from emp_master em left join passport_details pd
on pd.emp_id = em.emp_id and pd.status = 1
where pd.emp_id is null
Jag har ingen 3.23-instans att testa med, men det här borde fungera.