I'm using MS Query, and want to display all rows of a certain column even if the other columns associated with it are Null. For example...
SELECT SO_LN.MINOR_CD,
SUM(DECODE(ORD_TP_CD,'CRM',-QTY,'SAL',QTY,0)),
SUM(DECODE(ORD_TP_CD,'CRM',-QTY,'MCR',-QTY,QTY)*UNIT_PRC),
FROM...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.