将 MySQL Join 和 Group By 转换为 MongoDB

问题描述 投票:0回答:0

所以我有这个 MySQL 查询,我需要将其转换为 MongoDB NoSQL 查询,但我是 Mongo 的新手,所以我不确定如何转换。主要问题是 JOIN 和 GROUP BY 运算符。

这是 MySQL 查询:

Query

这是预期的输出:
enter image description here

mysql mongodb nosql
© www.soinside.com 2019 - 2024. All rights reserved.