You are on page 1of 1

desc W_PRODUCT_D;

select distinct opty_id from WC_OPPORTUNITY_F


where PLSP_PROGRAM_FLG = 'N';

select count(T463020.OPTY_ID) as c1,


T795622.TC_PROG_DESCR as c2,
T795622.TC_PROG_CODE as c3
from WC_OPPORTUNITY_F T463020 /* Fact_WC_OPPORTUNITY_F */ left outer join
WC_PROG_OPPTY_D T795622 /* Dim_WC_PROG_OPPTY_D */ On T463020.OPTY_ID =
T795622.OPPORTUNITY_ID
group by T795622.TC_PROG_DESCR, T795622.TC_PROG_CODE

sql CODE IS ALSI THERE....


;

You might also like