400 028 6601

建站动态

根据您的个性需求进行定制 先人一步 抢占小程序红利时代

MongoDB笔记十一——count+Distinct+Group

1、count()
查询出国籍是美国的学生人数
MongoDB笔记十一——count+Distinct+Group
2、Distinct()
查询出都有哪些国家的学生
db.runCommond({distinct:"persons",key:"country"}).values
MongoDB笔记十一——count+Distinct+Group

新闻名称:MongoDB笔记十一——count+Distinct+Group
文章出自:http://mbwzsj.com/article/jiiico.html

其他资讯

让你的专属顾问为你服务