select b.氏名 as 管理者名 ,a.社員コード ,a.氏名 ,a.フリガナ from 社員マスタ a ,社員マスタ b where a.管理者 is not null and a.管理者 = b.社員コード order by a.管理者