結果 : postgres if null return 0