Coba kelompokkan menurut nol.
db.murders.aggregate([{$group: {_id:null, pop: {$avg:"$murders"} } }])
More-Info:mongo-average-aggregation-query-with-no-group
Coba kelompokkan menurut nol.
db.murders.aggregate([{$group: {_id:null, pop: {$avg:"$murders"} } }])
More-Info:mongo-average-aggregation-query-with-no-group