Is there something equivalent to the excel countif function (http://www.techonthenet.com/excel/formulas/countif.php) in SOQL ?
This is especially important in group by queries.
In oracle I would use the case function together with the case function
sum(
case
when (condition is true)
then 1 else 0
end
)
How do i perform the same in salesforce SOQL?
Thanks,
David