Hi.
i need to show a set of records based on the programs in the system.
some of the programs are listed as duplicates, so i still need to show the actual program and the values for it;
I don't think using distinct will be the answer, since I still need to show all values.
ie:
PROGRAM VALIDSTREAM CHARGE
katmandu yes br01
katmandu no br02
katmandu yes ser05
taiwan yes sfare06
how can i write my sql, so that I can get the following results displayed...same table, no joins (i am not authorized to change the view either)
br01 br02 ser05 sfare06 siflt
katmandu yes no yes 0 0
taiwan 0 0 0 yes 0
thanks...
i need to show a set of records based on the programs in the system.
some of the programs are listed as duplicates, so i still need to show the actual program and the values for it;
I don't think using distinct will be the answer, since I still need to show all values.
ie:
PROGRAM VALIDSTREAM CHARGE
katmandu yes br01
katmandu no br02
katmandu yes ser05
taiwan yes sfare06
how can i write my sql, so that I can get the following results displayed...same table, no joins (i am not authorized to change the view either)
br01 br02 ser05 sfare06 siflt
katmandu yes no yes 0 0
taiwan 0 0 0 yes 0
thanks...