HEre I will will write the code
// retrieve ssn field for documents where last_name == 'Nandi': db.users.find({lastname: 'Nandi'}, {'ssn': 1}); // retrieve all fields *except* the thumbnail field, for all documents: db.users.find({}, {thumbnail:0});