HF RL Explorer

Task: MongoDB Sum Query with Aggregation

Task: MongoDB Sum Query with Aggregation: a task in Terminal-Lego-15k (Harbor dataset). Write a MongoDB shell script that inserts sample data into a collection and performs an aggregation query to sum the incoming field for documents where the hour field is between 11 and 12 (inclusive).

The task

Write a MongoDB shell script that inserts sample data into a collection and performs an aggregation query to sum the `incoming` field for documents where the `hour` field is between 11 and 12 (inclusive).

Part of PrimeIntellect/Terminal-Lego-15k.