CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

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}}}])

Minh họa câu hỏi

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.

  1. A. [{_id: ‘Central’, finalTotal: 29},{_id: ‘Pacific’, finalTotal: 125},{_id: ‘West’, finalTotal: 165}]
  2. B. [{_id: ‘Pacific’, finalTotal: 125},{_id: ‘West’, finalTotal: 165}] — đáp án hiện tại
  3. C. [{_id: ‘East’, finalTotal: 15}]
  4. 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.

Câu hỏi liền kề