Which of the following commands will return all the posts with number of likes greater than 100 and less than 200, both inclusive?
db.posts.find({ likes : { $gte : 100 , $lte : 200 } } );
db.posts.find({ likes : { $gt : 100 , $lte : 200 } } );
db.posts.find({ likes : { $gte : 100, $lt : 200 } } );
db.posts.find({ likes : { $gt : 100, $lt : 200 > > );
Submit