db.employees.insertMany([ {empId: 1, name: 'Clark', dept: 'Sales' }, {empId: 2, name: 'Dave', dept: 'Accounting' }, {empId: 3, name: 'Ava', dept: 'Sales' } ]); //db.employees.aggregate([{ $match:{ empId: { $gt: 2 } } } ]) //db.employees.find({dept: 'Sales'}); //db.employees.aggregate([{ $match:{ empId:1 } } ])