Explanation:$sum calculates and returns the sum of all the numeric values. 2. Point out the wrong statement :
A. $avg is an accumulator operator available only in the $group stage
B. $sum accumulator can be used to compute the total amount and count for each group of documents
C. $avg ignores numeric values
D. All of the mentioned
Answer:A
Explanation:$sum calculates and returns the sum of all the numeric values. 2. Point out the wrong statement :
A. $avg is an accumulator operator available only in the $group stage B. $sum accumulator can be used to compute the total amount and count for each group of documents C. $avg ignores numeric values D. All of the mentioned
Explanation:$avg returns the average value of the numeric values that result from applying a specified expression to each document in a group of documents that share the same group by key. 3. Which of the following ignores non numeric values ?