Hi
I have written this query for generating a report.
select * from shrcertmaster left outer join
shrsharemaster on
shmacno = ctmacno
This returns the output given below.
CtmCoy CtmAcNo CtmCertNo CtmBenf CtmBatch CtmShare
UB 1234567905 123453 123476 0001 1000
UB 1234567905 123466 123476 0001 1000
UB 1234567905 123479 123476 0002 10000
UB 1234567905 1234891 123476 0002 15000
I don't want the 2nd column CtmAcno "1234567905 " to be repeated if it
is same CtmAcNo. Instead it should display null.
How can I modify the above query? Pls help..
Regards.
I have written this query for generating a report.
select * from shrcertmaster left outer join
shrsharemaster on
shmacno = ctmacno
This returns the output given below.
CtmCoy CtmAcNo CtmCertNo CtmBenf CtmBatch CtmShare
UB 1234567905 123453 123476 0001 1000
UB 1234567905 123466 123476 0001 1000
UB 1234567905 123479 123476 0002 10000
UB 1234567905 1234891 123476 0002 15000
I don't want the 2nd column CtmAcno "1234567905 " to be repeated if it
is same CtmAcNo. Instead it should display null.
How can I modify the above query? Pls help..
Regards.
Comment