A
ashwini.hari
Following is the skeleton of a simple query I wrote,to find the sum of
values by grouping multiple columns ( from different tables
joins).Now,even if the SUM(C.column3) is NULL( verified this by
running a separate value specific query), it shows up with values from
the previous columns!
Not sure what is the problem here...Please help.
SELECT A.column1, B.column2, ISNULL(SUM(C.column3),0)
<FROM A JOIN B AND JOIN C>
GROUP BY A.column1, B.column2
values by grouping multiple columns ( from different tables
joins).Now,even if the SUM(C.column3) is NULL( verified this by
running a separate value specific query), it shows up with values from
the previous columns!
Not sure what is the problem here...Please help.
SELECT A.column1, B.column2, ISNULL(SUM(C.column3),0)
<FROM A JOIN B AND JOIN C>
GROUP BY A.column1, B.column2