Câu 19: C100DBA: MongoDB Associate Database Administrator
Consider an orders collection that contains these documents: What is the output of this aggregation pipeline?db.orders.aggregate([{group:{_id: “region”, finalTotal: {“sum” : “total”}}},{$match: {“finalTotal”: {$gt: 29}}}])
Nội dung câu hỏi
Consider an orders collection that contains these documents: What is the output of this aggregation pipeline?db.orders.aggregate([{group:{_id: “region”, finalTotal: {“sum” : “total”}}},{$match: {“finalTotal”: {$gt: 29}}}])
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. [{_id: ‘Central’, finalTotal: 29},{_id: ‘Pacific’, finalTotal: 125},{_id: ‘West’, finalTotal: 165}]
- B. [{_id: ‘Pacific’, finalTotal: 125},{_id: ‘West’, finalTotal: 165}] — đáp án hiện tại
- C. [{_id: ‘East’, finalTotal: 15}]
- D. [{_id: ‘Pacific’, finalTotal: 125},]
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.
Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.