In this case, the original order is correct: db.log.on pulls all the records 
from auth_user, even those that don't match a record in log.  The coalesce() 
method added by Massimo allows the sum to be null and substitutes 0 for it.

Reply via email to