Chapter 3 lab answer choices (group and accumulators)

Hi!
So, after running the lab on $group and accumulators, the only answer that matches the options available is the max value of 9.2. I have the following syntax $group: {_id:null} which should be correct. How can I get some help on this?

Thanks!

You are missing the part where you specify which field you are grouping and you group them. You need to specify $max, $min, … Here is a list of the possibilities https://docs.mongodb.com/v3.2/reference/operator/aggregation-group/

Hi,

Thanks for the link. I did run all of the required syntax, max, min, avg, std. However, the only answer that matches to the answer option is the value for max.
Can I clarify that there are 312 documents in the collection that contains the text “Won XX Awards” in the “awards” field?

Hi @Zuriati_Balian_14534,

Please check your discourse messages.

Let me know, if you have any questions.

Thanks,
Sonali