$ 0 0 select address.address_id,address.state,dim_tab.src_system,di m_tab.dim_last_mdfd_dt from address left outer join dim_tab on address.address_id=dim_tab.ods_addr_id and address.state=dim_tab.ST and dim_tab.src_system='rama'
select address.address_id,address.state,dim_tab.src_system,di m_tab.dim_last_mdfd_dt
from address
left outer join dim_tab
on address.address_id=dim_tab.ods_addr_id
and address.state=dim_tab.ST
and dim_tab.src_system='rama'