親フォルダ
select 
   社員コード,
   氏名,
   性別マスタ.* 

from 社員マスタ
left outer join 性別マスタ
on 社員マスタ.性別 = 性別マスタ.性別