SELECT dr.*,
(SELECT org.name
FROM dlp_base.sys_org org
WHERE org.org_id in (select org_id from dlp_base.sys_user where user_id = dr.applicant_id)) AS org_name,
(SELECT user.name
FROM dlp_base.sys_user user
WHERE user.user_id =dr.three_level_audit_id) AS three_level_audit_name
, (
SELECT user.name
FROM dlp_base.sys_user user
WHERE user.user_id =dr.secondary_auditor_id) AS secondary_auditor_name
, (
SELECT user.name
FROM dlp_base.sys_user user
WHERE user.user_id =dr.primary_auditor_id) AS primary_auditor_name
, (
SELECT user.name
FROM dlp_base.sys_user user
WHERE user.user_id =dr.applicant_id) AS applicant_name
, (
SELECT user.name
FROM dlp_base.sys_user user
WHERE user.user_id =dr.approver_id) AS approver_name
FROM decentralized_request dr