SELECT cr.*, (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 = cr.applicant_id)) AS org_name, (SELECT user.name FROM dlp_base.sys_user user WHERE user.user_id=cr.applicant_id ) AS applicant_name , ( SELECT user.name FROM dlp_base.sys_user user WHERE user.user_id=cr.auditor_id ) AS auditor_name FROM centralized_request cr select cr.*, (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 = cr.applicant_id)) AS org_name, (SELECT user.name FROM dlp_base.sys_user user WHERE user.user_id=cr.applicant_id ) AS applicant_name , ( SELECT user.name FROM dlp_base.sys_user user WHERE user.user_id=cr.auditor_id ) AS auditor_name from centralized_request cr where cr.centralized_request_id =#{centralizedRequestId}