SELECT cc.*,
(SELECT user.name
FROM dlp_base.sys_user user
WHERE user.user_id =cc.executor_id) AS executor_name,
(SELECT user.name
FROM dlp_base.sys_user user
WHERE user.user_id =cc.primary_auditor_id) AS primary_auditor_name ,
(SELECT user.name
FROM dlp_base.sys_user user
WHERE user.user_id =cc.secondary_auditor_id) AS secondary_auditor_name
FROM compliance_check cc