Hi,
Im not familiar with Interbase, but im sure it has a function that checks if the data is Null. (IFNULL, ISNULL, etc.)
The trick is you must replace all the Null values with 0.
In Ingres Database query, It looks like this:
SELECT SUM(IFNULL(SellingQty,0))
FROM tablename
Red