Use to show the details of Germany. .find() Show Germany instead of France.
db.world.find({
name: 'France'
});
You can use to make the output more readable. .pretty() List all the countries in the continent of “Eurasia”.
db.world.find({
name: 'Germany'
}).pretty();
You can test numbers as well as strings.Find the country with an area of exactly 43094.
db.world.find({
gdp: 3425956000000
}).pretty();
You can use $gt (greater than) and $lt (less than) to compare numbers and strings.Show each country with a population of over 250000000 Sort the results alphabetically.You will need to use a projection to answer this question.