Hi All,
I have a requirement where I need to have two columns for my reports that are not available in the views/tables that we are using . In order to have those columns in the report we need to follow the below SQL. How can the below SQL logic can be used in RPD or the reports.
Please suggest me..
select d.project_wid,
(select sum(p.HRS) plan FROM dw_PLAN_TIME p where p.project_wid=d.project_wid) total_plan_hrs
,(select sum(a.HRS) plan FROM Dw_Pa_Hrs a where a.project_wid=d.project_wid) total_PA_hrs
from dw_project_d d
Thanks !