SQL - Include rows that don't return Sum results being cut from Query -
newish sql - pulling items inventory point vendor information , levels @ last database update. test inventory i'm using building query, contains 35 inventory items.
i additionally added sum of usage on time frame function query, cuts of 18 items weren't used in timeframe i've given. (the usage pulls negative need abs additionally)
sample text is:
select item_no, inv_point, par_level, abs(sum(quantity_used) usage from....
do need split query 2 , can add usage column right of existing query , display null if no results? i've looked on here similar issues , tried coalesce can't seem work.
thanks
wiki
Comments
Post a Comment