1、count()查询出国籍是美国的学生人数2、Distinct()查询出都有哪些国家的学生db.runCommond({distinct:"persons",key:"country"}).values 转载于:https://blog.51cto.com/3157689/1372656