Explanation:The $project takes a document that can specify the inclusion of fields, the suppression of the _id field, the addition of new fields, and the resetting the values of existing fields. 8. _______ groups documents by some specified expression and outputs to the next stage a document for each distinct grouping.
A. $setcon
B. $group
C. $match
D. None of the mentioned
Answer:A
Explanation:The $project takes a document that can specify the inclusion of fields, the suppression of the _id field, the addition of new fields, and the resetting the values of existing fields. 8. _______ groups documents by some specified expression and outputs to the next stage a document for each distinct grouping.
A. $setcon B. $group C. $match D. None of the mentioned
Explanation:$group works similar to group by clause in SQL. 9. ____________ works similar to HAVING clause in SQL