Versuch mal
SQL-Code:
...Select If(SUM(ALL_AvailableStock) Is Null, 0, SUM(ALL_AvailableStock)) as PLC25 From INV_ALL
Where ALL_PLC = "25" And ALL_StockCoverage1_FreeAvailable > 77.4 And ALL_StockCoverage1_FreeAvailable <= 154.8) ,...
Btw. Es handelt sich hier ume eine DERIVED TABLE und keinen Subselect