SELECT qs_doc_name disc_rpt_name,
qs_doc_owner disc_rpt_owner,
(SELECT user_name
FROM fnd_user
WHERE '#' || user_id = qs_created_by)
disc_rpt_run_by,
qs_created_date disc_rpt_run_date
FROM disprd.eul5_qpp_stats
WHERE qs_doc_name = 'XX Disc Report Name'
ORDER BY qs_created_date DESC
qs_doc_owner disc_rpt_owner,
(SELECT user_name
FROM fnd_user
WHERE '#' || user_id = qs_created_by)
disc_rpt_run_by,
qs_created_date disc_rpt_run_date
FROM disprd.eul5_qpp_stats
WHERE qs_doc_name = 'XX Disc Report Name'
ORDER BY qs_created_date DESC