Decode in where clause oracle. SUM(NVL()) is not needed, because NULL values are ignored.

Decode in where clause oracle. 772002 May 11 2010 — edited May 11 2010.